Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.javaee.servlet.proxy
Class ServiceProxyHandler

java.lang.Object
  extended by oracle.stellent.wcm.javaee.servlet.proxy.AbstractProxyHandler
      extended by oracle.stellent.wcm.javaee.servlet.proxy.ServiceProxyHandler

All Implemented Interfaces:
ProxyServlet.ProxyHandler

public class ServiceProxyHandler
extends AbstractProxyHandler

Handle the proxy of Content Server service calls; make sure the URLs and rewritten to match the target application server.


Constructor Summary
ServiceProxyHandler(javax.servlet.ServletConfig servletConfig, javax.servlet.ServletContext servletContext)
           

 

Method Summary
 ProxyLogic getProxyLogic()
           
protected  IdcServiceForProxy getProxyService(java.lang.String service)
          Retrieve the proxy implementation for this service name
 void handle(ServletRequestContext requestContext)
          Handle this request
protected  boolean handleGet(ServletRequestContext requestContext, ProxyRequest proxyRequest)
          Populate the proxy request for a GET method.
protected  boolean handlePost(ServletRequestContext requestContext, ProxyRequest proxyRequest)
          Populate the proxy request for a POST method

 

Methods inherited from class oracle.stellent.wcm.javaee.servlet.proxy.AbstractProxyHandler
getClientApplication, getServletConfig, getServletContext, populateRequest, sendProxyResponse, streamResponse

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServiceProxyHandler

public ServiceProxyHandler(javax.servlet.ServletConfig servletConfig,
                           javax.servlet.ServletContext servletContext)

Method Detail

getProxyLogic

public ProxyLogic getProxyLogic()
                         throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

handle

public void handle(ServletRequestContext requestContext)
            throws javax.servlet.ServletException,
                   java.io.IOException
Handle this request
Parameters:
requestContext - the request context
Throws:
javax.servlet.ServletException
java.io.IOException

getProxyService

protected IdcServiceForProxy getProxyService(java.lang.String service)
Retrieve the proxy implementation for this service name
Parameters:
service - the service
Returns:
the implementation handler

handleGet

protected boolean handleGet(ServletRequestContext requestContext,
                            ProxyRequest proxyRequest)
                     throws javax.servlet.ServletException,
                            java.io.IOException
Populate the proxy request for a GET method.
Parameters:
requestContext - the request context
proxyRequest - the currrent proxy request to populate
Returns:
true to execute the proxy request, false to finish execution
Throws:
javax.servlet.ServletException
java.io.IOException

handlePost

protected boolean handlePost(ServletRequestContext requestContext,
                             ProxyRequest proxyRequest)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Populate the proxy request for a POST method
Parameters:
requestContext - the request context
proxyRequest - the currrent proxy request to populate
Returns:
true to execute the proxy request, false to finish execution
Throws:
javax.servlet.ServletException
java.io.IOException

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.