Re: Spring boot help
Summers Pittman ℝ <[email protected]> Tue, 30 Jan 2018 11:31:14 -0500
| Newsgroups | gmane.org.user-groups.ajug.members |
|---|---|
| Message-ID | <CAHK_qPsxB0K_C_8nNom9ekP4PiOHUQKzhZ0ScH=GHenhHyD2zA@mail.gmail.com> |
--===============1059664651488872789== Content-Type: multipart/alternative; boundary="001a113fc404622f5f056400e550" --001a113fc404622f5f056400e550 Content-Type: text/plain; charset="UTF-8" You should be able to declare it as a parameter in your controller's methods and spring boot should just know to put it there. There may or may not be an annotation you need. I may be misremembering from javaEE though. Summers Pittman >>Phone:404 941 4698 >>Java is my crack. On Mon, Jan 29, 2018 at 5:23 PM, Mike Barnes <[email protected]> wrote: > I want to start out by thanking everyone on this board for all the help > they have given me so far with the issues with spring boot. > > I am developing a spring boot rest application using spring security. > I would like to be able to get access to the http servlet request from my > controller code. > > With that in mind, could someone point me in a direction. > > Thanks > Mike Barnes > > _______________________________________________ > ajug-members mailing list > [email protected] > Manage your subscription and unsubscribe http://lists.ajug.org/mailman/ > listinfo/ajug-members > --001a113fc404622f5f056400e550 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">You should be able to declare it as a parameter in your co= ntroller's methods and spring boot should just know to put it there.=C2= =A0<div><br></div><div>There may or may not be an annotation you need.</div= ><div><br></div><div>I may be misremembering from javaEE though.</div></div= ><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_sign= ature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Summers Pittman<= br><span>>>Phone:<a>404 941 4698</a></span><br>>>Java is my cra= ck.<br><div><br></div></div></div></div> <br><div class=3D"gmail_quote">On Mon, Jan 29, 2018 at 5:23 PM, Mike Barnes= <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_qu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex= "><div dir=3D"ltr"><div><div><div><div><div>I want to start out by thanking= everyone on this board for all the help they have given me so far with the= issues with spring boot.<br><br></div>I am developing a spring boot rest a= pplication using spring security.<br></div>I would like to be able to get a= ccess to the http servlet request from my controller code.<br><br></div>Wit= h that in mind, could someone point me in a direction. <br><br></div>Thanks= <span class=3D"HOEnZb"><font color=3D"#888888"><br></font></span></div><spa= n class=3D"HOEnZb"><font color=3D"#888888">Mike Barnes<br></font></span></d= iv> <br>______________________________<wbr>_________________<br> ajug-members mailing list<br> <a href=3D"mailto:[email protected]">[email protected]<= /a><br> Manage your subscription and unsubscribe <a href=3D"http://lists.ajug.org/m= ailman/listinfo/ajug-members" rel=3D"noreferrer" target=3D"_blank">http://l= ists.ajug.org/mailman/<wbr>listinfo/ajug-members</a><br></blockquote></div>= <br></div> --001a113fc404622f5f056400e550-- --===============1059664651488872789== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYWp1Zy1tZW1i ZXJzIG1haWxpbmcgbGlzdAphanVnLW1lbWJlcnNAbGlzdHMuYWp1Zy5vcmcKTWFuYWdlIHlvdXIg c3Vic2NyaXB0aW9uIGFuZCB1bnN1YnNjcmliZSBodHRwOi8vbGlzdHMuYWp1Zy5vcmcvbWFpbG1h bi9saXN0aW5mby9hanVnLW1lbWJlcnM= --===============1059664651488872789==--