public class ServiceContainerResponse extends HttpServletResponseWrapper implements IServiceInterfaceResponse
Modifier and Type | Field and Description |
---|---|
protected PageConfig |
pageConfig |
protected ServiceContainerHttpServletResponse |
serviceContainerHttpServletResponse |
protected ServiceContainerRequest |
serviceContainerRequest |
protected String |
serviceInterfaceInstanceId |
SC_ACCEPTED, SC_BAD_GATEWAY, SC_BAD_REQUEST, SC_CONFLICT, SC_CONTINUE, SC_CREATED, SC_EXPECTATION_FAILED, SC_FORBIDDEN, SC_FOUND, SC_GATEWAY_TIMEOUT, SC_GONE, SC_HTTP_VERSION_NOT_SUPPORTED, SC_INTERNAL_SERVER_ERROR, SC_LENGTH_REQUIRED, SC_METHOD_NOT_ALLOWED, SC_MOVED_PERMANENTLY, SC_MOVED_TEMPORARILY, SC_MULTIPLE_CHOICES, SC_NO_CONTENT, SC_NON_AUTHORITATIVE_INFORMATION, SC_NOT_ACCEPTABLE, SC_NOT_FOUND, SC_NOT_IMPLEMENTED, SC_NOT_MODIFIED, SC_OK, SC_PARTIAL_CONTENT, SC_PAYMENT_REQUIRED, SC_PRECONDITION_FAILED, SC_PROXY_AUTHENTICATION_REQUIRED, SC_REQUEST_ENTITY_TOO_LARGE, SC_REQUEST_TIMEOUT, SC_REQUEST_URI_TOO_LONG, SC_REQUESTED_RANGE_NOT_SATISFIABLE, SC_RESET_CONTENT, SC_SEE_OTHER, SC_SERVICE_UNAVAILABLE, SC_SWITCHING_PROTOCOLS, SC_TEMPORARY_REDIRECT, SC_UNAUTHORIZED, SC_UNSUPPORTED_MEDIA_TYPE, SC_USE_PROXY
Constructor and Description |
---|
ServiceContainerResponse(ServiceContainerRequest request,
HttpServletResponse httpServletResponse) |
ServiceContainerResponse(ServiceContainerRequest request,
ServiceContainerHttpServletResponse serviceContainerHttpServletResponse) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(Cookie arg0) |
void |
addProperty(String arg0,
Element arg1) |
void |
addProperty(String key,
String value) |
IServiceInterfaceUrl |
createActionURL()
Creates an action URL.
|
Element |
createElement(String arg0) |
IServiceInterfaceUrl |
createPortalURL()
Creates a URL for accessing a portal page.
|
IServiceInterfaceUrl |
createRenderURL()
Creates a render URL.
|
protected IServiceInterfaceUrl |
createServiceInterfaceURL(int urlType) |
void |
deleteCookie(Cookie cookie) |
String |
encodeURL(String url) |
String |
getNamespace() |
ServiceContainerHttpServletResponse |
getServiceContainerHttpServletResponse() |
void |
setNamespace(String namespace)
Sets the namespace to be used in this response.
|
void |
setPageWebResource(PageWebResource pageWebResource)
Sets the page web resource for this response.
|
void |
setProperty(String key,
String value) |
void |
setServiceInterfaceInstanceId(String serviceInterfaceInstanceId) |
addCookie, addDateHeader, addHeader, addIntHeader, containsHeader, encodeRedirectUrl, encodeRedirectURL, encodeUrl, getHeader, getHeaderNames, getHeaders, getStatus, sendError, sendError, sendRedirect, setDateHeader, setHeader, setIntHeader, setStatus, setStatus
flushBuffer, getBufferSize, getCharacterEncoding, getContentType, getLocale, getOutputStream, getResponse, getWriter, isCommitted, isWrapperFor, isWrapperFor, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentLength, setContentType, setLocale, setResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCookie
flushBuffer, getBufferSize, getCharacterEncoding, getContentType, getLocale, getOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentLength, setContentType, setLocale
protected ServiceContainerHttpServletResponse serviceContainerHttpServletResponse
protected ServiceContainerRequest serviceContainerRequest
protected String serviceInterfaceInstanceId
protected PageConfig pageConfig
public ServiceContainerResponse(ServiceContainerRequest request, HttpServletResponse httpServletResponse)
public ServiceContainerResponse(ServiceContainerRequest request, ServiceContainerHttpServletResponse serviceContainerHttpServletResponse)
public ServiceContainerHttpServletResponse getServiceContainerHttpServletResponse()
protected IServiceInterfaceUrl createServiceInterfaceURL(int urlType)
public IServiceInterfaceUrl createPortalURL()
IURLFactory
The returned URL object will not have its destination specified, so it will refer to the portal home by default. Its methods may be used to specify the URL destination.
createPortalURL
in interface IURLFactory
IServiceInterfaceUrl.setPageId(String)
,
IServiceInterfaceUrl.setChannelId(String)
public IServiceInterfaceUrl createActionURL()
IURLFactory
createActionURL
in interface IURLFactory
IServiceInterface.processAction(lumis.portal.serviceinterface.IServiceInterfaceActionRequest, lumis.portal.serviceinterface.IServiceInterfaceActionResponse)
public IServiceInterfaceUrl createRenderURL()
IURLFactory
createRenderURL
in interface IURLFactory
IServiceInterface.render(lumis.portal.serviceinterface.IServiceInterfaceRenderRequest, lumis.portal.serviceinterface.IServiceInterfaceRenderResponse)
public void addProperty(String key, String value)
addProperty
in interface PortletResponse
public void setProperty(String key, String value)
setProperty
in interface PortletResponse
public void setServiceInterfaceInstanceId(String serviceInterfaceInstanceId)
serviceInterfaceInstanceId
- public void setPageWebResource(PageWebResource pageWebResource)
pageWebResource
- the page web resource.public void deleteCookie(Cookie cookie)
deleteCookie
in interface IServiceInterfaceResponse
public void addProperty(Cookie arg0)
addProperty
in interface PortletResponse
public void addProperty(String arg0, Element arg1)
addProperty
in interface PortletResponse
public Element createElement(String arg0) throws DOMException
createElement
in interface PortletResponse
DOMException
public String getNamespace()
getNamespace
in interface PortletResponse
public void setNamespace(String namespace)
namespace
- the namespace.getNamespace()
public String encodeURL(String url)
encodeURL
in interface PortletResponse
encodeURL
in interface HttpServletResponse
encodeURL
in class HttpServletResponseWrapper
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.