I want to use
LocalConnector.getResponses( "POST /myservlet/SpecialRequest HTTP/1.0\r\nContent-Length: x\r\n\r\n<content>\r\n\r\n" );
to send special requests to servlets from within my application (uses embedded Jetty server). How can the Servlet detect that the request isfrom a LocalConnector instead of an external source?
The doPost method only has a HttpServletRequest and HttpServletResponse objects as parameters.
Using Jetty 9.2.4 and Servlet 3.1 APIs.