List of usage examples for org.apache.commons.httpclient.methods OptionsMethod hasBeenUsed
@Override public boolean hasBeenUsed()
From source file:net.sf.j2ep.responsehandlers.OptionsResponseHandler.java
/** * Constructor checking if we should handle the Allow header * ourself or respond with the backing servers header. * /*from ww w. j a va 2 s . c o m*/ * @param method The method for this response */ public OptionsResponseHandler(OptionsMethod method) { super(method); useOwnAllow = !method.hasBeenUsed(); }