Package org.apache.axis2.transport.http
Class ListingAgent
- java.lang.Object
-
- org.apache.axis2.transport.http.AbstractAgent
-
- org.apache.axis2.transport.http.ListingAgent
-
public class ListingAgent extends AbstractAgent
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.http.AbstractAgent
configContext, DEFAULT_INDEX_JSP, operationCache
-
-
Constructor Summary
Constructors Constructor Description ListingAgent(ConfigurationContext aConfigContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
copy(InputStream stream, OutputStream ostream)
Copies the input stream to the output streamString
extractServiceName(String urlString)
String
getParamtereIgnoreCase(javax.servlet.http.HttpServletRequest req, String paraName)
void
handle(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
void
processExplicitSchemaAndWSDL(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
protected void
processIndex(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Callback method for index page.protected void
processListFaultyServices(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
void
processListService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
protected void
processListServices(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-
Methods inherited from class org.apache.axis2.transport.http.AbstractAgent
populateRequestAttributes, processUnknown, renderView
-
-
-
-
Constructor Detail
-
ListingAgent
public ListingAgent(ConfigurationContext aConfigContext)
-
-
Method Detail
-
handle
public void handle(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
- Overrides:
handle
in classAbstractAgent
- Throws:
IOException
javax.servlet.ServletException
-
processListFaultyServices
protected void processListFaultyServices(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
processIndex
protected void processIndex(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
Description copied from class:AbstractAgent
Callback method for index page. Forwards toAbstractAgent.DEFAULT_INDEX_JSP
by default.- Overrides:
processIndex
in classAbstractAgent
- Parameters:
httpServletRequest
- The incoming request.httpServletResponse
- The outgoing response.- Throws:
IOException
javax.servlet.ServletException
-
processExplicitSchemaAndWSDL
public void processExplicitSchemaAndWSDL(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
copy
public static void copy(InputStream stream, OutputStream ostream) throws IOException
Copies the input stream to the output stream- Parameters:
stream
- theInputStream
ostream
- theOutputStream
- Throws:
IOException
-
processListService
public void processListService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getParamtereIgnoreCase
public String getParamtereIgnoreCase(javax.servlet.http.HttpServletRequest req, String paraName)
-
processListServices
protected void processListServices(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-