org.apache.sling.servlets.post.impl.operations
Class NopOperation

java.lang.Object
  extended by org.apache.sling.servlets.post.impl.operations.NopOperation
All Implemented Interfaces:
SlingPostOperation

public class NopOperation
extends Object
implements SlingPostOperation

The NopOperation class implements no operation at all. It just sets the response status accroding to the :nopstatus parameter if availables. Otherwise the status is set as 200/OK.


Field Summary
 
Fields inherited from interface org.apache.sling.servlets.post.SlingPostOperation
PROP_OPERATION_NAME, SERVICE_NAME
 
Constructor Summary
NopOperation()
           
 
Method Summary
 void run(SlingHttpServletRequest request, HtmlResponse response, SlingPostProcessor[] processors)
          Executes the operation provided by this service implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NopOperation

public NopOperation()
Method Detail

run

public void run(SlingHttpServletRequest request,
                HtmlResponse response,
                SlingPostProcessor[] processors)
Description copied from interface: SlingPostOperation
Executes the operation provided by this service implementation. This method is called by the Sling default POST servlet.

Specified by:
run in interface SlingPostOperation
Parameters:
request - The SlingHttpServletRequest object providing the request input for the operation.
response - The HtmlResponse into which the operation steps should be recorded.


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.