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
static String AUTH_SERVICE_LIST
           
static String AUTH_SERVICE_LIST_REALM
           
protected  String authServiceListPageRealm
           
protected static String DEFAULT_LISTINGS_CLASSIFIER
           
protected  DestinationRegistry destinationRegistry
           
protected  boolean disableAddressUpdates
           
protected  String forcedBaseAddress
           
protected  boolean isAuthServiceListPage
           
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
 boolean filter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
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)
           
 boolean invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res, boolean returnErrors)
           
 void invokeDestination(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AbstractHTTPDestination d)
           
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

AUTH_SERVICE_LIST

public static final String AUTH_SERVICE_LIST
See Also:
Constant Field Values

AUTH_SERVICE_LIST_REALM

public static final String AUTH_SERVICE_LIST_REALM
See Also:
Constant Field Values

DEFAULT_LISTINGS_CLASSIFIER

protected static final String DEFAULT_LISTINGS_CLASSIFIER
See Also:
Constant Field Values

isHideServiceList

protected boolean isHideServiceList

isAuthServiceListPage

protected boolean isAuthServiceListPage

disableAddressUpdates

protected boolean disableAddressUpdates

authServiceListPageRealm

protected String authServiceListPageRealm

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)

filter

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

invoke

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

invoke

public boolean invoke(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse res,
                      boolean returnErrors)
               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

generateNotFound

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

Apache CXF API

Apache CXF