|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.soap.server.http.ServerHTTPUtils
Any utility stuff for HTTP SOAP stuff.
Constructor Summary | |
ServerHTTPUtils()
|
Method Summary | |
static java.io.File |
getFileFromNameAndContext(java.lang.String fileName,
javax.servlet.ServletContext context)
If the fileName is absolute, a file representing it is returned. |
static ServiceManager |
getServiceManagerFromContext(javax.servlet.ServletContext context)
Equivalent to: getServiceManagerFromContext(context, null) |
static ServiceManager |
getServiceManagerFromContext(javax.servlet.ServletContext context,
java.lang.String configFilename)
Look up the service manager or create it from the context. |
static java.lang.ClassLoader |
getServletClassLoaderFromContext(javax.servlet.ServletContext context)
Retrieves the ClassLoader from the ServletContext, if one is registered. |
static SOAPMappingRegistry |
getSMRFromContext(javax.servlet.ServletContext context)
Return the soap mapping registry instance from the servlet context. |
static java.lang.Object |
getTargetObject(ServiceManager serviceManager,
DeploymentDescriptor dd,
java.lang.String targetID,
javax.servlet.http.HttpServlet thisServlet,
javax.servlet.http.HttpSession session,
SOAPContext ctxt,
javax.servlet.ServletContext context)
Return the target object that services the service with the given ID. |
static Envelope |
readEnvelopeFromRequest(javax.xml.parsers.DocumentBuilder xdb,
java.lang.String contentType,
int contentLength,
java.io.InputStream requestStream,
EnvelopeEditor editor,
javax.servlet.http.HttpServletResponse res,
SOAPContext ctx)
Read in stuff from the HTTP request stream and return the envelope. |
static void |
setServletClassLoaderIntoContext(javax.servlet.ServletContext context,
java.lang.ClassLoader cl)
Registers the ClassLoader into the ServletContext. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ServerHTTPUtils()
Method Detail |
public static ServiceManager getServiceManagerFromContext(javax.servlet.ServletContext context, java.lang.String configFilename)
public static ServiceManager getServiceManagerFromContext(javax.servlet.ServletContext context)
public static java.lang.ClassLoader getServletClassLoaderFromContext(javax.servlet.ServletContext context)
public static void setServletClassLoaderIntoContext(javax.servlet.ServletContext context, java.lang.ClassLoader cl)
public static java.io.File getFileFromNameAndContext(java.lang.String fileName, javax.servlet.ServletContext context)
public static Envelope readEnvelopeFromRequest(javax.xml.parsers.DocumentBuilder xdb, java.lang.String contentType, int contentLength, java.io.InputStream requestStream, EnvelopeEditor editor, javax.servlet.http.HttpServletResponse res, SOAPContext ctx) throws SOAPException, java.io.IOException
public static java.lang.Object getTargetObject(ServiceManager serviceManager, DeploymentDescriptor dd, java.lang.String targetID, javax.servlet.http.HttpServlet thisServlet, javax.servlet.http.HttpSession session, SOAPContext ctxt, javax.servlet.ServletContext context) throws SOAPException
public static SOAPMappingRegistry getSMRFromContext(javax.servlet.ServletContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |