this.effectiveVersion = HttpVersion.parse(versionStr);
public RequestLine(final String method, final String uri, final String httpversion) throws ProtocolException { this(method, uri, HttpVersion.parse(httpversion)); }
private void setStatus(HttpResponse response, MuleMessage message) throws MuleException { if(status != null) { try { response.setStatusLine(HttpVersion.parse(version), Integer.valueOf(parse(status, message))); } catch(ProtocolException e) { throw new DefaultMuleException(e); } } }
p.setParameter(HttpMethodParams.PROTOCOL_VERSION, HttpVersion.parse(properties.get(PROP_HTTP_PROTOCOL_VERSION))); } catch (ProtocolException e) { if (log.isWarnEnabled())
setStatusLine(HttpVersion.parse(statusline.getHttpVersion()), statusline.getStatusCode(), statusline.getReasonPhrase()); setHeaders(headers);
params.setVersion(HttpVersion.parse(httpProtocolVersion));
httpVersion = HttpVersion.parse(httpMethod.getStatusLine().getHttpVersion()); uri = httpMethod.getURI().toString(); statusCode = String.valueOf(httpMethod.getStatusCode());
this.effectiveVersion = HttpVersion.parse(versionStr);
this.effectiveVersion = HttpVersion.parse(versionStr);
this.effectiveVersion = HttpVersion.parse(versionStr);
this.effectiveVersion = HttpVersion.parse(versionStr);
this.effectiveVersion = HttpVersion.parse(versionStr);
response.setStatusLine(HttpVersion.parse(version), status); if (contentType != null)