/** * This can be used to get the major number from a HTTP version. * The major version corresponds to the major type that is the 1 * of a HTTP/1.0 version string. * * @return the major version number for the request message */ public int getMajor() { return request.getMajor(); }
/** * This can be used to get the major number from a HTTP version. * The major version corresponds to the major type that is the 1 * of a HTTP/1.0 version string. * * @return the major version number for the request message */ public int getMajor() { return request.getMajor(); }
/** * This can be used to get the major number from a HTTP version. * The major version corresponds to the major type that is the 1 * of a HTTP/1.0 version string. * * @return the major version number for the request message */ public int getMajor() { return request.getMajor(); }
public int getMajor() { return request.getMajor(); }
/** * Constructs this class with the specified {@link simple.http.Request} and * {@link simple.http.Response}. * * @param server * The parent server. * @param request * Request to wrap. * @param response * Response to wrap. * @param confidential * Indicates if this call is acting in HTTP or HTTPS mode. */ SimpleCall(Server server, Request request, Response response, boolean confidential) { super(server); this.version = request.getMajor() + "." + request.getMinor(); this.request = request; this.response = response; setConfidential(confidential); this.requestHeadersAdded = false; }