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
 
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(InputStream stream, OutputStream ostream)
          Copies the input stream to the output stream
 String extractServiceName(String urlString)
           
 void handle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
           
 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 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
 

Constructor Detail

ListingAgent

public ListingAgent(ConfigurationContext aConfigContext)
Method Detail

handle

public void handle(HttpServletRequest httpServletRequest,
                   HttpServletResponse httpServletResponse)
            throws IOException,
                   ServletException
Overrides:
handle in class AbstractAgent
Throws:
IOException
ServletException

processListFaultyServices

protected void processListFaultyServices(HttpServletRequest req,
                                         HttpServletResponse res)
                                  throws IOException,
                                         ServletException
Throws:
IOException
ServletException

processIndex

protected void processIndex(HttpServletRequest httpServletRequest,
                            HttpServletResponse httpServletResponse)
                     throws 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:
IOException
ServletException

processExplicitSchemaAndWSDL

public void processExplicitSchemaAndWSDL(HttpServletRequest req,
                                         HttpServletResponse res)
                                  throws IOException,
                                         ServletException
Throws:
IOException
ServletException

copy

public static void copy(InputStream stream,
                        OutputStream ostream)
                 throws IOException
Copies the input stream to the output stream

Parameters:
stream - the InputStream
ostream - the OutputStream
Throws:
IOException

extractServiceName

public String extractServiceName(String urlString)

processListService

public void processListService(HttpServletRequest req,
                               HttpServletResponse res)
                        throws IOException,
                               ServletException
Throws:
IOException
ServletException

processListServices

protected void processListServices(HttpServletRequest req,
                                   HttpServletResponse res)
                            throws IOException,
                                   ServletException
Throws:
IOException
ServletException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.