com.sun.xml.ws.transport.http.servlet
Class WSServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.sun.xml.ws.transport.http.servlet.WSServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WSServlet
extends javax.servlet.http.HttpServlet

The JAX-WS dispatcher servlet.

It really just forwards processing to WSServletDelegate.

See Also:
Serialized Form

Field Summary
static java.lang.String JAXWS_RI_PROPERTY_PUBLISH_STATUS_PAGE
           
static java.lang.String JAXWS_RI_PROPERTY_PUBLISH_WSDL
           
static java.lang.String JAXWS_RI_RUNTIME_INFO
          WSServletDelegate.
 
Constructor Summary
WSServlet()
           
 
Method Summary
protected  void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doHead(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  WSServletDelegate getDelegate(javax.servlet.ServletConfig servletConfig)
          Gets the WSServletDelegate that we will be forwarding the requests to.
 void init(javax.servlet.ServletConfig servletConfig)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doOptions, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXWS_RI_RUNTIME_INFO

public static final java.lang.String JAXWS_RI_RUNTIME_INFO
WSServletDelegate.

See Also:
Constant Field Values

JAXWS_RI_PROPERTY_PUBLISH_WSDL

public static final java.lang.String JAXWS_RI_PROPERTY_PUBLISH_WSDL
See Also:
Constant Field Values

JAXWS_RI_PROPERTY_PUBLISH_STATUS_PAGE

public static final java.lang.String JAXWS_RI_PROPERTY_PUBLISH_STATUS_PAGE
See Also:
Constant Field Values
Constructor Detail

WSServlet

public WSServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getDelegate

@Nullable
protected WSServletDelegate getDelegate(javax.servlet.ServletConfig servletConfig)
Gets the WSServletDelegate that we will be forwarding the requests to.

Returns:
null if the deployment have failed and we don't have the delegate.

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException

doPut

protected void doPut(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException
Overrides:
doPut in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException

doDelete

protected void doDelete(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws javax.servlet.ServletException
Overrides:
doDelete in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException

doHead

protected void doHead(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException
Overrides:
doHead in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.