Package org.apache.axis2.transport.http
Class ListingAgent
java.lang.Object
org.apache.axis2.transport.http.AbstractAgent
org.apache.axis2.transport.http.ListingAgent
-
Field Summary
Fields inherited from class org.apache.axis2.transport.http.AbstractAgent
configContext, DEFAULT_INDEX_JSP, operationCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream stream, OutputStream ostream) Copies the input stream to the output streamextractServiceName(String urlString) getParamtereIgnoreCase(jakarta.servlet.http.HttpServletRequest req, String paraName) voidhandle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) voidprocessExplicitSchemaAndWSDL(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected voidprocessIndex(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) Callback method for index page.protected voidprocessListFaultyServices(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) voidprocessListService(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected voidprocessListServices(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Methods inherited from class org.apache.axis2.transport.http.AbstractAgent
populateRequestAttributes, processUnknown, renderView
-
Constructor Details
-
ListingAgent
public ListingAgent(org.apache.axis2.context.ConfigurationContext aConfigContext)
-
-
Method Details
-
handle
public void handle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException, jakarta.servlet.ServletException - Overrides:
handlein classAbstractAgent- Throws:
IOExceptionjakarta.servlet.ServletException
-
processListFaultyServices
protected void processListFaultyServices(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
processIndex
protected void processIndex(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException, jakarta.servlet.ServletException Description copied from class:AbstractAgentCallback method for index page. Forwards toAbstractAgent.DEFAULT_INDEX_JSPby default.- Overrides:
processIndexin classAbstractAgent- Parameters:
httpServletRequest- The incoming request.httpServletResponse- The outgoing response.- Throws:
IOExceptionjakarta.servlet.ServletException
-
processExplicitSchemaAndWSDL
public void processExplicitSchemaAndWSDL(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
copy
Copies the input stream to the output stream- Parameters:
stream- theInputStreamostream- theOutputStream- Throws:
IOException
-
extractServiceName
-
processListService
public void processListService(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
getParamtereIgnoreCase
-
processListServices
protected void processListServices(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-