Class HtmlResponseProxy
java.lang.Object
org.apache.sling.api.servlets.HtmlResponse
org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
Deprecated.
The
HtmlResponseProxy
extends the Sling API
HtmlResponse
overwriting all public methods and redirecting to a
proxied PostResponse
. As a consequence the underlying (extended)
Sling API HtmlResponse
will not be fed with data and thus will
remain "empty".
This class is mainly used by the deprecated
AbstractSlingPostOperation
for
bridging into the new
AbstractPostOperation
.
-
Field Summary
Fields inherited from class org.apache.sling.api.servlets.HtmlResponse
PN_CHANGE_LOG, PN_ERROR, PN_IS_CREATED, PN_LOCATION, PN_PARENT_LOCATION, PN_PATH, PN_REFERER, PN_STATUS_CODE, PN_STATUS_MESSAGE, PN_TITLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()
Deprecated.Deprecated.Deprecated.getPath()
Deprecated.Deprecated.getProperty
(String name) Deprecated.<Type> Type
getProperty
(String name, Class<Type> type) Deprecated.Deprecated.int
Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
onModified
(String path) Deprecated.void
Deprecated.void
send
(javax.servlet.http.HttpServletResponse response, boolean setStatus) Deprecated.void
setCreateRequest
(boolean isCreateRequest) Deprecated.void
Deprecated.void
setLocation
(String location) Deprecated.void
setParentLocation
(String parentLocation) Deprecated.void
Deprecated.void
setProperty
(String name, Object value) Deprecated.void
setReferer
(String referer) Deprecated.void
Deprecated.void
Deprecated.
-
Constructor Details
-
HtmlResponseProxy
Deprecated.
-
-
Method Details
-
getPostResponse
Deprecated. -
getProperty
Deprecated.- Overrides:
getProperty
in classorg.apache.sling.api.servlets.HtmlResponse
-
getProperty
Deprecated.- Overrides:
getProperty
in classorg.apache.sling.api.servlets.HtmlResponse
-
setProperty
Deprecated.- Overrides:
setProperty
in classorg.apache.sling.api.servlets.HtmlResponse
-
getError
Deprecated.- Overrides:
getError
in classorg.apache.sling.api.servlets.HtmlResponse
-
getLocation
Deprecated.- Overrides:
getLocation
in classorg.apache.sling.api.servlets.HtmlResponse
-
getParentLocation
Deprecated.- Overrides:
getParentLocation
in classorg.apache.sling.api.servlets.HtmlResponse
-
getPath
Deprecated.- Overrides:
getPath
in classorg.apache.sling.api.servlets.HtmlResponse
-
getReferer
Deprecated.- Overrides:
getReferer
in classorg.apache.sling.api.servlets.HtmlResponse
-
getStatusCode
public int getStatusCode()Deprecated.- Overrides:
getStatusCode
in classorg.apache.sling.api.servlets.HtmlResponse
-
getStatusMessage
Deprecated.- Overrides:
getStatusMessage
in classorg.apache.sling.api.servlets.HtmlResponse
-
isCreateRequest
public boolean isCreateRequest()Deprecated.- Overrides:
isCreateRequest
in classorg.apache.sling.api.servlets.HtmlResponse
-
isSuccessful
public boolean isSuccessful()Deprecated.- Overrides:
isSuccessful
in classorg.apache.sling.api.servlets.HtmlResponse
-
onChange
Deprecated.- Overrides:
onChange
in classorg.apache.sling.api.servlets.HtmlResponse
-
onCopied
Deprecated.- Overrides:
onCopied
in classorg.apache.sling.api.servlets.HtmlResponse
-
onCreated
Deprecated.- Overrides:
onCreated
in classorg.apache.sling.api.servlets.HtmlResponse
-
onDeleted
Deprecated.- Overrides:
onDeleted
in classorg.apache.sling.api.servlets.HtmlResponse
-
onModified
Deprecated.- Overrides:
onModified
in classorg.apache.sling.api.servlets.HtmlResponse
-
onMoved
Deprecated.- Overrides:
onMoved
in classorg.apache.sling.api.servlets.HtmlResponse
-
send
public void send(javax.servlet.http.HttpServletResponse response, boolean setStatus) throws IOException Deprecated.- Overrides:
send
in classorg.apache.sling.api.servlets.HtmlResponse
- Throws:
IOException
-
setCreateRequest
public void setCreateRequest(boolean isCreateRequest) Deprecated.- Overrides:
setCreateRequest
in classorg.apache.sling.api.servlets.HtmlResponse
-
setError
Deprecated.- Overrides:
setError
in classorg.apache.sling.api.servlets.HtmlResponse
-
setLocation
Deprecated.- Overrides:
setLocation
in classorg.apache.sling.api.servlets.HtmlResponse
-
setParentLocation
Deprecated.- Overrides:
setParentLocation
in classorg.apache.sling.api.servlets.HtmlResponse
-
setPath
Deprecated.- Overrides:
setPath
in classorg.apache.sling.api.servlets.HtmlResponse
-
setReferer
Deprecated.- Overrides:
setReferer
in classorg.apache.sling.api.servlets.HtmlResponse
-
setStatus
Deprecated.- Overrides:
setStatus
in classorg.apache.sling.api.servlets.HtmlResponse
-
setTitle
Deprecated.- Overrides:
setTitle
in classorg.apache.sling.api.servlets.HtmlResponse
-