|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SlingHttpServletRequest in org.apache.sling.api.scripting |
---|
Methods in org.apache.sling.api.scripting that return SlingHttpServletRequest | |
---|---|
SlingHttpServletRequest |
SlingScriptHelper.getRequest()
Returns the SlingHttpServletRequest representing the input of the
request. |
SlingHttpServletRequest |
SlingBindings.getRequest()
Returns the SlingBindings.REQUEST property if not null and a
SlingHttpServletRequest instance. |
Methods in org.apache.sling.api.scripting with parameters of type SlingHttpServletRequest | |
---|---|
void |
SlingBindings.setRequest(SlingHttpServletRequest request)
Sets the SlingBindings.REQUEST property to request if not
null . |
Uses of SlingHttpServletRequest in org.apache.sling.api.servlets |
---|
Methods in org.apache.sling.api.servlets with parameters of type SlingHttpServletRequest | |
---|---|
boolean |
OptingServlet.accepts(SlingHttpServletRequest request)
Examines the request, and return true if this servlet is
willing to handle the request. |
protected void |
SlingAllMethodsServlet.doDelete(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP DELETE request. |
protected void |
SlingSafeMethodsServlet.doGeneric(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle a request for an HTTP method, which is not known and
handled by this class or its extension. |
protected void |
SlingSafeMethodsServlet.doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP GET request. |
protected void |
SlingSafeMethodsServlet.doHead(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Handles the HEAD method. |
protected void |
SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Handles the OPTIONS method by setting the HTTP Allow header on the response depending on the methods
declared in this class. |
protected void |
SlingAllMethodsServlet.doPost(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP POST request. |
protected void |
SlingAllMethodsServlet.doPut(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP PUT request. |
protected void |
SlingSafeMethodsServlet.doTrace(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Handles the TRACE method by just returning the list of all header values in the response body. |
protected void |
SlingSafeMethodsServlet.handleMethodNotImplemented(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method. |
protected boolean |
SlingSafeMethodsServlet.mayService(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Tries to handle the request by calling a Java method implemented for the respective HTTP request method. |
protected boolean |
SlingAllMethodsServlet.mayService(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Tries to handle the request by calling a Java method implemented for the respective HTTP request method. |
javax.servlet.Servlet |
ServletResolver.resolveServlet(SlingHttpServletRequest request)
Resolves a javax.servlet.Servlet whose
service method may be used to handle the given
request . |
protected void |
SlingSafeMethodsServlet.service(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the SlingSafeMethodsServlet.service(ServletRequest, ServletResponse) method to
handle the HTTP request. |
Uses of SlingHttpServletRequest in org.apache.sling.api.wrappers |
---|
Classes in org.apache.sling.api.wrappers that implement SlingHttpServletRequest | |
---|---|
class |
SlingHttpServletRequestWrapper
The SlingHttpServletRequestWrapper class is a default wrapper
class around a SlingHttpServletRequest which may be extended to amend
the functionality of the original request object. |
Methods in org.apache.sling.api.wrappers that return SlingHttpServletRequest | |
---|---|
SlingHttpServletRequest |
SlingHttpServletRequestWrapper.getSlingRequest()
Return the original SlingHttpServletRequest object wrapped by
this. |
Constructors in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequest | |
---|---|
SlingHttpServletRequestWrapper(SlingHttpServletRequest wrappedRequest)
Create a wrapper for the supplied wrappedRequest |
Uses of SlingHttpServletRequest in org.apache.sling.commons.testing.sling |
---|
Classes in org.apache.sling.commons.testing.sling that implement SlingHttpServletRequest | |
---|---|
class |
MockSlingHttpServletRequest
Mock request object. |
Uses of SlingHttpServletRequest in org.apache.sling.engine.servlets |
---|
Methods in org.apache.sling.engine.servlets with parameters of type SlingHttpServletRequest | |
---|---|
void |
ErrorHandler.handleError(int status,
java.lang.String message,
SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called to render a response for a HTTP status code. |
void |
ErrorHandler.handleError(java.lang.Throwable throwable,
SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called to render a response for an uncaught Throwable . |
Uses of SlingHttpServletRequest in org.apache.sling.jackrabbit.usermanager.post |
---|
Methods in org.apache.sling.jackrabbit.usermanager.post with parameters of type SlingHttpServletRequest | |
---|---|
protected java.util.Map<java.lang.String,org.apache.sling.jackrabbit.usermanager.post.impl.RequestProperty> |
AbstractAuthorizablePostServlet.collectContent(SlingHttpServletRequest request,
HtmlResponse response)
Collects the properties that form the content to be written back to the repository. |
protected void |
AbstractAuthorizablePostServlet.doPost(SlingHttpServletRequest request,
SlingHttpServletResponse httpResponse)
|
protected java.lang.String |
AbstractAuthorizablePostServlet.externalizePath(SlingHttpServletRequest request,
java.lang.String path)
Returns an external form of the given path prepending the context path and appending a display extension. |
protected java.util.Iterator<Resource> |
DeleteAuthorizableServlet.getApplyToResources(SlingHttpServletRequest request)
Returns an iterator on Resource instances addressed in the
SlingPostConstants.RP_APPLY_TO request parameter. |
protected java.lang.String |
AbstractAuthorizablePostServlet.getItemPath(SlingHttpServletRequest request)
Returns the path of the resource of the request as the item path. |
protected void |
UpdateUserServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected void |
UpdateGroupServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected void |
DeleteAuthorizableServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected void |
CreateUserServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse response,
java.util.List<Modification> changes)
|
protected void |
CreateGroupServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse response,
java.util.List<Modification> changes)
|
protected void |
ChangeUserPasswordServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected abstract void |
AbstractAuthorizablePostServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
Extending Servlet should implement this operation to do the work |
protected boolean |
AbstractAuthorizablePostServlet.isSetStatus(SlingHttpServletRequest request)
|
protected boolean |
AbstractAuthorizablePostServlet.requireItemPathPrefix(SlingHttpServletRequest request)
Returns true if any of the request parameters starts with {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT . |
protected void |
AbstractGroupPostServlet.updateGroupMembership(SlingHttpServletRequest request,
org.apache.jackrabbit.api.security.user.Authorizable authorizable,
java.util.List<Modification> changes)
Update the group membership based on the ":member" request parameters. |
Uses of SlingHttpServletRequest in org.apache.sling.jcr.jackrabbit.accessmanager.post |
---|
Methods in org.apache.sling.jcr.jackrabbit.accessmanager.post with parameters of type SlingHttpServletRequest | |
---|---|
protected void |
GetAclServlet.doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response)
|
protected void |
AbstractAccessPostServlet.doPost(SlingHttpServletRequest request,
SlingHttpServletResponse httpResponse)
|
protected java.lang.String |
AbstractAccessPostServlet.externalizePath(SlingHttpServletRequest request,
java.lang.String path)
Returns an external form of the given path prepending the context path and appending a display extension. |
protected java.lang.String |
AbstractAccessPostServlet.getItemPath(SlingHttpServletRequest request)
Returns the path of the resource of the request as the item path. |
protected void |
ModifyAceServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected void |
DeleteAcesServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
|
protected abstract void |
AbstractAccessPostServlet.handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
Extending Servlet should implement this operation to do the work |
protected boolean |
AbstractAccessPostServlet.isSetStatus(SlingHttpServletRequest request)
|
Uses of SlingHttpServletRequest in org.apache.sling.launchpad.testservices.servlets |
---|
Methods in org.apache.sling.launchpad.testservices.servlets with parameters of type SlingHttpServletRequest | |
---|---|
protected void |
PutMethodServlet.doPut(SlingHttpServletRequest request,
SlingHttpServletResponse response)
|
Uses of SlingHttpServletRequest in org.apache.sling.scripting.core |
---|
Methods in org.apache.sling.scripting.core that return SlingHttpServletRequest | |
---|---|
SlingHttpServletRequest |
ScriptHelper.getRequest()
|
Constructors in org.apache.sling.scripting.core with parameters of type SlingHttpServletRequest | |
---|---|
ScriptHelper(org.osgi.framework.BundleContext ctx,
SlingScript script,
SlingHttpServletRequest request,
SlingHttpServletResponse response)
|
Uses of SlingHttpServletRequest in org.apache.sling.servlets.post |
---|
Methods in org.apache.sling.servlets.post with parameters of type SlingHttpServletRequest | |
---|---|
protected abstract void |
AbstractSlingPostOperation.doRun(SlingHttpServletRequest request,
HtmlResponse response,
java.util.List<Modification> changes)
|
protected java.lang.String |
AbstractSlingPostOperation.externalizePath(SlingHttpServletRequest request,
java.lang.String path)
Returns an external form of the given path prepending the context path and appending a display extension. |
protected java.util.Iterator<Resource> |
AbstractSlingPostOperation.getApplyToResources(SlingHttpServletRequest request)
Returns an iterator on Resource instances addressed in the
SlingPostConstants.RP_APPLY_TO request parameter. |
protected java.lang.String |
AbstractSlingPostOperation.getItemPath(SlingHttpServletRequest request)
Returns the path of the resource of the request as the item path. |
protected void |
AbstractSlingPostOperation.orderNode(SlingHttpServletRequest request,
javax.jcr.Item item,
java.util.List<Modification> changes)
Orders the given node according to the specified command. |
void |
SlingPostProcessor.process(SlingHttpServletRequest request,
java.util.List<Modification> changes)
Process the current request. |
protected boolean |
AbstractSlingPostOperation.requireItemPathPrefix(SlingHttpServletRequest request)
Returns true if any of the request parameters starts with {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT . |
void |
SlingPostOperation.run(SlingHttpServletRequest request,
HtmlResponse response,
SlingPostProcessor[] processors)
Executes the operation provided by this service implementation. |
void |
AbstractSlingPostOperation.run(SlingHttpServletRequest request,
HtmlResponse response,
SlingPostProcessor[] processors)
Prepares and finalizes the actual operation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |