org.apache.axis2.transport.http
Class ListingAgent

java.lang.Object
  extended by org.apache.axis2.transport.http.AbstractAgent
      extended by org.apache.axis2.transport.http.ListingAgent

public class ListingAgent
extends AbstractAgent


Field Summary
static java.lang.String RUNNING_PORT
           
 
Fields inherited from class org.apache.axis2.transport.http.AbstractAgent
configContext, DEFAULT_INDEX_JSP, operationCache
 
Constructor Summary
ListingAgent(ConfigurationContext aConfigContext)
           
 
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(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
protected  void initTransportListener(javax.servlet.http.HttpServletRequest httpServletRequest)
           
 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
populateSessionInformation, processUnknown, renderView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RUNNING_PORT

public static final java.lang.String RUNNING_PORT
See Also:
Constant Field Values
Constructor Detail

ListingAgent

public ListingAgent(ConfigurationContext aConfigContext)
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest httpServletRequest,
                   javax.servlet.http.HttpServletResponse httpServletResponse)
            throws java.io.IOException,
                   javax.servlet.ServletException
Overrides:
handle in class AbstractAgent
Throws:
java.io.IOException
javax.servlet.ServletException

initTransportListener

protected void initTransportListener(javax.servlet.http.HttpServletRequest httpServletRequest)

processListFaultyServices

protected void processListFaultyServices(javax.servlet.http.HttpServletRequest req,
                                         javax.servlet.http.HttpServletResponse res)
                                  throws java.io.IOException,
                                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

processIndex

protected void processIndex(javax.servlet.http.HttpServletRequest httpServletRequest,
                            javax.servlet.http.HttpServletResponse httpServletResponse)
                     throws java.io.IOException,
                            javax.servlet.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
javax.servlet.ServletException

processExplicitSchemaAndWSDL

public void processExplicitSchemaAndWSDL(javax.servlet.http.HttpServletRequest req,
                                         javax.servlet.http.HttpServletResponse res)
                                  throws java.io.IOException,
                                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.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(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res)
                        throws java.io.IOException,
                               javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

processListServices

protected void processListServices(javax.servlet.http.HttpServletRequest req,
                                   javax.servlet.http.HttpServletResponse res)
                            throws java.io.IOException,
                                   javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.