public class ServletController extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ServletController(DestinationRegistry destinationRegistry,
javax.servlet.ServletConfig config,
javax.servlet.http.HttpServlet serviceListGenerator) |
Modifier and Type | Method and Description |
---|---|
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) |
protected void |
updateDestination(javax.servlet.http.HttpServletRequest request,
String base,
AbstractHTTPDestination d) |
public static final String AUTH_SERVICE_LIST
public static final String AUTH_SERVICE_LIST_REALM
protected static final String DEFAULT_LISTINGS_CLASSIFIER
protected boolean isHideServiceList
protected boolean isAuthServiceListPage
protected boolean disableAddressUpdates
protected String authServiceListPageRealm
protected String forcedBaseAddress
protected String serviceListRelativePath
protected javax.servlet.ServletConfig servletConfig
protected DestinationRegistry destinationRegistry
protected javax.servlet.http.HttpServlet serviceListGenerator
public ServletController(DestinationRegistry destinationRegistry, javax.servlet.ServletConfig config, javax.servlet.http.HttpServlet serviceListGenerator)
public void setServiceListRelativePath(String relativePath)
protected String getBaseURL(javax.servlet.http.HttpServletRequest request)
protected void setBaseURLAttribute(javax.servlet.http.HttpServletRequest request)
protected void updateDestination(javax.servlet.http.HttpServletRequest request, AbstractHTTPDestination d)
protected void updateDestination(javax.servlet.http.HttpServletRequest request, String base, AbstractHTTPDestination d)
public boolean filter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException
javax.servlet.ServletException
public void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException
javax.servlet.ServletException
public boolean invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res, boolean returnErrors) throws javax.servlet.ServletException
javax.servlet.ServletException
public void invokeDestination(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AbstractHTTPDestination d) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void generateNotFound(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res) throws IOException
IOException
Apache CXF