net.sf.j2ep.responsehandlers
Class HeadResponseHandler

java.lang.Object
  extended by net.sf.j2ep.responsehandlers.ResponseHandlerBase
      extended by net.sf.j2ep.responsehandlers.HeadResponseHandler
All Implemented Interfaces:
ResponseHandler

public class HeadResponseHandler
extends ResponseHandlerBase

Handler for the HEAD method.

Author:
Anders Nyman

Field Summary
 
Fields inherited from class net.sf.j2ep.responsehandlers.ResponseHandlerBase
method
 
Constructor Summary
HeadResponseHandler(org.apache.commons.httpclient.methods.HeadMethod method)
          Default constructor, will only call the super-constructor for BasicResponseHandler.
 
Method Summary
 void process(HttpServletResponse response)
          Will only set the headers and status code, no response is sent.
 
Methods inherited from class net.sf.j2ep.responsehandlers.ResponseHandlerBase
close, getStatusCode, sendStreamToClient, setHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadResponseHandler

public HeadResponseHandler(org.apache.commons.httpclient.methods.HeadMethod method)
Default constructor, will only call the super-constructor for BasicResponseHandler.

Parameters:
method - The method used for this response
Method Detail

process

public void process(HttpServletResponse response)
Will only set the headers and status code, no response is sent.

Specified by:
process in interface ResponseHandler
Specified by:
process in class ResponseHandlerBase
Parameters:
response - The response to process
See Also:
net.sf.j2ep.model.ResponseHandler#process(javax.servlet.http.HttpServletResponse)