List of usage examples for org.apache.commons.httpclient.methods TraceMethod hasBeenUsed
@Override public boolean hasBeenUsed()
From source file:net.sf.j2ep.responsehandlers.TraceResponseHandler.java
/** * Basic constructor setting the method, and also checks if * the request is targeted to the proxy or the underlying server. * @param method The http method//w w w . j a v a 2s . com */ public TraceResponseHandler(TraceMethod method) { super(method); proxyTargeted = !method.hasBeenUsed(); }