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
Method Summary |
static void |
copy(java.io.InputStream stream,
java.io.OutputStream ostream)
Copies the input stream to the output stream |
java.lang.String |
extractServiceName(java.lang.String urlString)
|
void |
handle(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
|
protected void |
initTransportListener(HttpServletRequest httpServletRequest)
|
void |
processExplicitSchemaAndWSDL(HttpServletRequest req,
HttpServletResponse res)
|
protected void |
processIndex(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
Callback method for index page. |
protected void |
processListFaultyServices(HttpServletRequest req,
HttpServletResponse res)
|
void |
processListService(HttpServletRequest req,
HttpServletResponse res)
|
protected void |
processListServices(HttpServletRequest req,
HttpServletResponse res)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RUNNING_PORT
public static final java.lang.String RUNNING_PORT
- See Also:
- Constant Field Values
ListingAgent
public ListingAgent(ConfigurationContext aConfigContext)
handle
public void handle(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
throws java.io.IOException,
ServletException
- Overrides:
handle
in class AbstractAgent
- Throws:
java.io.IOException
ServletException
initTransportListener
protected void initTransportListener(HttpServletRequest httpServletRequest)
processListFaultyServices
protected void processListFaultyServices(HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
processIndex
protected void processIndex(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
throws java.io.IOException,
ServletException
- Description copied from class:
AbstractAgent
- Callback method for index page. Forwards to
DEFAULT_INDEX_JSP
by default.
- Overrides:
processIndex
in class AbstractAgent
- Parameters:
httpServletRequest
- The incoming request.httpServletResponse
- The outgoing response.
- Throws:
java.io.IOException
ServletException
processExplicitSchemaAndWSDL
public void processExplicitSchemaAndWSDL(HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
copy
public static void copy(java.io.InputStream stream,
java.io.OutputStream ostream)
throws java.io.IOException
- Copies the input stream to the output stream
- Parameters:
stream
- the InputStream
ostream
- the OutputStream
- Throws:
java.io.IOException
extractServiceName
public java.lang.String extractServiceName(java.lang.String urlString)
processListService
public void processListService(HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
processListServices
protected void processListServices(HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.