Class JAXRPCServletDelegate

java.lang.Object
com.sun.xml.rpc.server.http.JAXRPCServletDelegate
All Implemented Interfaces:
ServletDelegate, ServletDelegate

public class JAXRPCServletDelegate extends Object implements ServletDelegate
Author:
JAX-RPC Development Team
  • Constructor Details

    • JAXRPCServletDelegate

      public JAXRPCServletDelegate()
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
      Specified by:
      init in interface ServletDelegate
      Throws:
      javax.servlet.ServletException
    • init

      public void init(javax.servlet.ServletConfig servletConfig, SOAPVersion ver) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface ServletDelegate
    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
      Specified by:
      doGet in interface ServletDelegate
      Throws:
      javax.servlet.ServletException
    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
      Specified by:
      doPost in interface ServletDelegate
      Throws:
      javax.servlet.ServletException
    • writeReply

      protected void writeReply(javax.servlet.http.HttpServletResponse resp, SOAPMessageContext messageContext) throws javax.xml.soap.SOAPException, IOException
      Throws:
      javax.xml.soap.SOAPException
      IOException
    • writeNotFoundErrorPage

      protected void writeNotFoundErrorPage(Localizer localizer, javax.servlet.http.HttpServletResponse response, String message) throws IOException
      Throws:
      IOException
    • writeInvalidContentType

      protected void writeInvalidContentType(javax.servlet.http.HttpServletResponse response, javax.xml.soap.MimeHeaders headers) throws javax.xml.soap.SOAPException, IOException
      Throws:
      javax.xml.soap.SOAPException
      IOException
    • writeInvalidMethodType

      protected void writeInvalidMethodType(Localizer localizer, javax.servlet.http.HttpServletResponse response, String message) throws IOException
      Throws:
      IOException
    • warnMissingContextInformation

      protected void warnMissingContextInformation()
    • createImplementorCache

      protected ImplementorCache createImplementorCache()
    • getHeaders

      protected static javax.xml.soap.MimeHeaders getHeaders(javax.servlet.http.HttpServletRequest req)
    • putHeaders

      protected static void putHeaders(javax.xml.soap.MimeHeaders headers, javax.servlet.http.HttpServletResponse res)
    • readFully

      protected static byte[] readFully(InputStream istream) throws IOException
      Throws:
      IOException
    • registerEndpointUrlPattern

      public void registerEndpointUrlPattern(RuntimeEndpointInfo info)
      Specified by:
      registerEndpointUrlPattern in interface ServletDelegate
    • getValidPathForEndpoint

      protected String getValidPathForEndpoint(RuntimeEndpointInfo info)
    • getEndpointFor

      protected RuntimeEndpointInfo getEndpointFor(javax.servlet.http.HttpServletRequest request)
    • getSOAPMessageFromRequest

      protected javax.xml.soap.SOAPMessage getSOAPMessageFromRequest(javax.servlet.http.HttpServletRequest request, javax.xml.soap.MimeHeaders headers, SOAPMessageContext messageContext) throws IOException
      Throws:
      IOException
    • checkContentType

      protected boolean checkContentType(javax.xml.soap.MimeHeaders headers)
    • checkContentLength

      protected boolean checkContentLength(javax.xml.soap.MimeHeaders headers)
    • getLocalizerFor

      protected Localizer getLocalizerFor(javax.servlet.ServletRequest request)
    • copyStream

      protected static void copyStream(InputStream istream, OutputStream ostream) throws IOException
      Throws:
      IOException
    • setSecondDelegate

      public void setSecondDelegate(ServletSecondDelegate secondDelegate)
      Specified by:
      setSecondDelegate in interface ServletDelegate
    • setSystemHandlerDelegate

      public void setSystemHandlerDelegate(SystemHandlerDelegate systemHandlerDelegate)
      Specified by:
      setSystemHandlerDelegate in interface ServletDelegate