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.server.request.proxy
Class ProxyHandler

java.lang.Object
  extended by oracle.stellent.wcm.server.request.SiteRequestHandler<IdcServiceRequest,IdcServiceLogic>
      extended by oracle.stellent.wcm.server.request.idcService.IdcServiceHandler
          extended by oracle.stellent.wcm.server.request.proxy.ProxyHandler


public class ProxyHandler
extends IdcServiceHandler

Proxy requests and rewrite URLs for HTML content retrieved from the Content Server.


Field Summary
static SiteResponse.ResponseObject<java.lang.Long> CONTENT_LENGTH
           
static SiteResponse.ResponseObject<java.lang.String> CONTENT_TYPE
           
static SiteResponse.ResponseObject<java.lang.Integer> STATUS_CODE
           
static SiteResponse.ResponseObject<java.lang.String> STATUS_MESSAGE
           
static SiteResponse.ResponseObject<java.io.InputStream> STREAM
           

 

Fields inherited from class oracle.stellent.wcm.server.request.idcService.IdcServiceHandler
RESULT

 

Constructor Summary
ProxyHandler(ClientApplication clientApplication, ProxyLogic commandLogic)
           

 

Method Summary
protected  SiteResponse createResponse(IdcServiceRequest siteRequest, oracle.stellent.ridc.protocol.ServiceResponse response)
          Create the response object
protected  SiteResponse handleLogicError(IdcServiceRequest siteRequest, SiteRequestException exp)
          Handle an error occurring while processing the command

 

Methods inherited from class oracle.stellent.wcm.server.request.idcService.IdcServiceHandler
applyLogic

 

Methods inherited from class oracle.stellent.wcm.server.request.SiteRequestHandler
getLogic, getServerContext, handleSiteRequest, validateSiteRequest

 

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

 

Field Detail

STREAM

public static final SiteResponse.ResponseObject<java.io.InputStream> STREAM

STATUS_CODE

public static final SiteResponse.ResponseObject<java.lang.Integer> STATUS_CODE

STATUS_MESSAGE

public static final SiteResponse.ResponseObject<java.lang.String> STATUS_MESSAGE

CONTENT_LENGTH

public static final SiteResponse.ResponseObject<java.lang.Long> CONTENT_LENGTH

CONTENT_TYPE

public static final SiteResponse.ResponseObject<java.lang.String> CONTENT_TYPE

Constructor Detail

ProxyHandler

public ProxyHandler(ClientApplication clientApplication,
                    ProxyLogic commandLogic)

Method Detail

createResponse

protected SiteResponse createResponse(IdcServiceRequest siteRequest,
                                      oracle.stellent.ridc.protocol.ServiceResponse response)
Create the response object
Overrides:
createResponse in class IdcServiceHandler
Parameters:
siteRequest - the idcservice command
response - the result of the call
Returns:
the server response

handleLogicError

protected SiteResponse handleLogicError(IdcServiceRequest siteRequest,
                                        SiteRequestException exp)
Handle an error occurring while processing the command
Overrides:
handleLogicError in class SiteRequestHandler<IdcServiceRequest,IdcServiceLogic>
Parameters:
siteRequest - the site command
exp - the error
Returns:
the error response

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.