Package org.apache.cxf.transport.servlet
Class ServletController
java.lang.Object
org.apache.cxf.transport.servlet.ServletController
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected Stringprotected static final Stringprotected DestinationRegistryprotected booleanprotected Stringprotected booleanprotected booleanprotected jakarta.servlet.http.HttpServletprotected Stringprotected jakarta.servlet.ServletConfig -
Constructor Summary
ConstructorsConstructorDescriptionServletController(DestinationRegistry destinationRegistry, jakarta.servlet.ServletConfig config, jakarta.servlet.http.HttpServlet serviceListGenerator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilter(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) protected voidgenerateNotFound(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) protected StringgetBaseURL(jakarta.servlet.http.HttpServletRequest request) voidinvoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) booleaninvoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res, boolean returnErrors) voidinvokeDestination(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AbstractHTTPDestination d) protected voidsetBaseURLAttribute(jakarta.servlet.http.HttpServletRequest request) voidsetServiceListRelativePath(String relativePath) protected voidupdateDestination(jakarta.servlet.http.HttpServletRequest request, String base, AbstractHTTPDestination d) protected voidupdateDestination(jakarta.servlet.http.HttpServletRequest request, AbstractHTTPDestination d)
-
Field Details
-
AUTH_SERVICE_LIST
- See Also:
-
AUTH_SERVICE_LIST_REALM
- See Also:
-
DEFAULT_LISTINGS_CLASSIFIER
- See Also:
-
isHideServiceList
protected boolean isHideServiceList -
isAuthServiceListPage
protected boolean isAuthServiceListPage -
disableAddressUpdates
protected boolean disableAddressUpdates -
authServiceListPageRealm
-
forcedBaseAddress
-
serviceListRelativePath
-
servletConfig
protected jakarta.servlet.ServletConfig servletConfig -
destinationRegistry
-
serviceListGenerator
protected jakarta.servlet.http.HttpServlet serviceListGenerator
-
-
Constructor Details
-
ServletController
public ServletController(DestinationRegistry destinationRegistry, jakarta.servlet.ServletConfig config, jakarta.servlet.http.HttpServlet serviceListGenerator)
-
-
Method Details
-
setServiceListRelativePath
-
getBaseURL
-
setBaseURLAttribute
protected void setBaseURLAttribute(jakarta.servlet.http.HttpServletRequest request) -
updateDestination
protected void updateDestination(jakarta.servlet.http.HttpServletRequest request, AbstractHTTPDestination d) -
updateDestination
protected void updateDestination(jakarta.servlet.http.HttpServletRequest request, String base, AbstractHTTPDestination d) -
filter
public boolean filter(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-
invoke
public void invoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-
invoke
public boolean invoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res, boolean returnErrors) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-
invokeDestination
public void invokeDestination(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AbstractHTTPDestination d) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-
generateNotFound
protected void generateNotFound(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-