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> TypegetProperty(String name, Class<Type> type) Deprecated.Deprecated.intDeprecated.Deprecated.booleanDeprecated.booleanDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidonModified(String path) Deprecated.voidDeprecated.voidsend(javax.servlet.http.HttpServletResponse response, boolean setStatus) Deprecated.voidsetCreateRequest(boolean isCreateRequest) Deprecated.voidDeprecated.voidsetLocation(String location) Deprecated.voidsetParentLocation(String parentLocation) Deprecated.voidDeprecated.voidsetProperty(String name, Object value) Deprecated.voidsetReferer(String referer) Deprecated.voidDeprecated.voidDeprecated.
-
Constructor Details
-
HtmlResponseProxy
Deprecated.
-
-
Method Details
-
getPostResponse
Deprecated. -
getProperty
Deprecated.- Overrides:
getPropertyin classorg.apache.sling.api.servlets.HtmlResponse
-
getProperty
Deprecated.- Overrides:
getPropertyin classorg.apache.sling.api.servlets.HtmlResponse
-
setProperty
Deprecated.- Overrides:
setPropertyin classorg.apache.sling.api.servlets.HtmlResponse
-
getError
Deprecated.- Overrides:
getErrorin classorg.apache.sling.api.servlets.HtmlResponse
-
getLocation
Deprecated.- Overrides:
getLocationin classorg.apache.sling.api.servlets.HtmlResponse
-
getParentLocation
Deprecated.- Overrides:
getParentLocationin classorg.apache.sling.api.servlets.HtmlResponse
-
getPath
Deprecated.- Overrides:
getPathin classorg.apache.sling.api.servlets.HtmlResponse
-
getReferer
Deprecated.- Overrides:
getRefererin classorg.apache.sling.api.servlets.HtmlResponse
-
getStatusCode
public int getStatusCode()Deprecated.- Overrides:
getStatusCodein classorg.apache.sling.api.servlets.HtmlResponse
-
getStatusMessage
Deprecated.- Overrides:
getStatusMessagein classorg.apache.sling.api.servlets.HtmlResponse
-
isCreateRequest
public boolean isCreateRequest()Deprecated.- Overrides:
isCreateRequestin classorg.apache.sling.api.servlets.HtmlResponse
-
isSuccessful
public boolean isSuccessful()Deprecated.- Overrides:
isSuccessfulin classorg.apache.sling.api.servlets.HtmlResponse
-
onChange
Deprecated.- Overrides:
onChangein classorg.apache.sling.api.servlets.HtmlResponse
-
onCopied
Deprecated.- Overrides:
onCopiedin classorg.apache.sling.api.servlets.HtmlResponse
-
onCreated
Deprecated.- Overrides:
onCreatedin classorg.apache.sling.api.servlets.HtmlResponse
-
onDeleted
Deprecated.- Overrides:
onDeletedin classorg.apache.sling.api.servlets.HtmlResponse
-
onModified
Deprecated.- Overrides:
onModifiedin classorg.apache.sling.api.servlets.HtmlResponse
-
onMoved
Deprecated.- Overrides:
onMovedin classorg.apache.sling.api.servlets.HtmlResponse
-
send
public void send(javax.servlet.http.HttpServletResponse response, boolean setStatus) throws IOException Deprecated.- Overrides:
sendin classorg.apache.sling.api.servlets.HtmlResponse- Throws:
IOException
-
setCreateRequest
public void setCreateRequest(boolean isCreateRequest) Deprecated.- Overrides:
setCreateRequestin classorg.apache.sling.api.servlets.HtmlResponse
-
setError
Deprecated.- Overrides:
setErrorin classorg.apache.sling.api.servlets.HtmlResponse
-
setLocation
Deprecated.- Overrides:
setLocationin classorg.apache.sling.api.servlets.HtmlResponse
-
setParentLocation
Deprecated.- Overrides:
setParentLocationin classorg.apache.sling.api.servlets.HtmlResponse
-
setPath
Deprecated.- Overrides:
setPathin classorg.apache.sling.api.servlets.HtmlResponse
-
setReferer
Deprecated.- Overrides:
setRefererin classorg.apache.sling.api.servlets.HtmlResponse
-
setStatus
Deprecated.- Overrides:
setStatusin classorg.apache.sling.api.servlets.HtmlResponse
-
setTitle
Deprecated.- Overrides:
setTitlein classorg.apache.sling.api.servlets.HtmlResponse
-