Apache CXF API

org.apache.cxf.transport.servlet
Class ServletController

java.lang.Object
  extended by org.apache.cxf.transport.servlet.ServletController

public class ServletController
extends Object


Field Summary
protected static String DEFAULT_LISTINGS_CLASSIFIER
           
protected  DestinationRegistry destinationRegistry
           
protected  boolean disableAddressUpdates
           
protected  String forcedBaseAddress
           
protected  boolean isHideServiceList
           
protected  javax.servlet.http.HttpServlet serviceListGenerator
           
protected  String serviceListRelativePath
           
protected  javax.servlet.ServletConfig servletConfig
           
 
Constructor Summary
ServletController(DestinationRegistry destinationRegistry, javax.servlet.ServletConfig config, javax.servlet.http.HttpServlet serviceListGenerator)
           
 
Method Summary
protected  QueryHandler findQueryHandler(QueryHandlerRegistry queryHandlerRegistry, EndpointInfo ei, String ctxUri, String baseUri)
           
protected  void generateNotFound(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
protected  String getBaseURL(javax.servlet.http.HttpServletRequest request)
           
 void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
 void invokeDestination(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AbstractHTTPDestination d)
           
protected  void respondUsingQueryHandler(QueryHandler selectedHandler, javax.servlet.http.HttpServletResponse res, EndpointInfo ei, String ctxUri, String baseUri)
           
protected  void setBaseURLAttribute(javax.servlet.http.HttpServletRequest request)
           
 void setServiceListRelativePath(String relativePath)
           
protected  void updateDestination(javax.servlet.http.HttpServletRequest request, AbstractHTTPDestination d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LISTINGS_CLASSIFIER

protected static final String DEFAULT_LISTINGS_CLASSIFIER
See Also:
Constant Field Values

isHideServiceList

protected boolean isHideServiceList

disableAddressUpdates

protected boolean disableAddressUpdates

forcedBaseAddress

protected String forcedBaseAddress

serviceListRelativePath

protected String serviceListRelativePath

servletConfig

protected javax.servlet.ServletConfig servletConfig

destinationRegistry

protected DestinationRegistry destinationRegistry

serviceListGenerator

protected javax.servlet.http.HttpServlet serviceListGenerator
Constructor Detail

ServletController

public ServletController(DestinationRegistry destinationRegistry,
                         javax.servlet.ServletConfig config,
                         javax.servlet.http.HttpServlet serviceListGenerator)
Method Detail

setServiceListRelativePath

public void setServiceListRelativePath(String relativePath)

getBaseURL

protected String getBaseURL(javax.servlet.http.HttpServletRequest request)

setBaseURLAttribute

protected void setBaseURLAttribute(javax.servlet.http.HttpServletRequest request)

updateDestination

protected void updateDestination(javax.servlet.http.HttpServletRequest request,
                                 AbstractHTTPDestination d)

invoke

public void invoke(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

invokeDestination

public void invokeDestination(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              AbstractHTTPDestination d)
                       throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

findQueryHandler

protected QueryHandler findQueryHandler(QueryHandlerRegistry queryHandlerRegistry,
                                        EndpointInfo ei,
                                        String ctxUri,
                                        String baseUri)

respondUsingQueryHandler

protected void respondUsingQueryHandler(QueryHandler selectedHandler,
                                        javax.servlet.http.HttpServletResponse res,
                                        EndpointInfo ei,
                                        String ctxUri,
                                        String baseUri)
                                 throws IOException,
                                        javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

generateNotFound

protected void generateNotFound(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse res)
                         throws IOException
Throws:
IOException

Apache CXF API

Apache CXF