|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceRegistrationResolver
An interface to provide internal classes with access to client service registration state. This interface serves as the connection between the internal server and the HTTP Service.
Method Summary | |
---|---|
ServiceRegistrationHandler |
getProcessor(HttpServletRequestImpl request,
HttpServletResponseImpl response,
java.lang.String requestPath)
For a request, response, and requestPath, return a ServiceRegistrationHandler. |
ServiceRegistration |
getServiceRegistration(java.lang.String requestPath)
Resolve the requestPath to a Resource or Servlet registration with the closest (deepest) match. |
HttpServletRequestImpl |
getServletRequest(java.net.Socket socket)
Given a socket connection return a HttpServletRequestImpl. |
HttpServletResponseImpl |
getServletResponse(java.io.OutputStream output)
Given a HttpRequest and an output stream, return a HttpServletResponseImpl. |
Method Detail |
---|
HttpServletRequestImpl getServletRequest(java.net.Socket socket)
socket
- socket connection to be associated with HTTP Request
ServiceRegistration getServiceRegistration(java.lang.String requestPath)
requestPath
- URI of request
HttpServletResponseImpl getServletResponse(java.io.OutputStream output)
request
- HttpRequestoutput
- output stream associated with socket connection.
ServiceRegistrationHandler getProcessor(HttpServletRequestImpl request, HttpServletResponseImpl response, java.lang.String requestPath)
request
- HttpRequestresponse
- HttpResponserequestPath
- The request URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |