Class HttpClientRequest
java.lang.Object
cool.scx.http.x.HttpClientRequest
- All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper, cool.scx.http.headers.ScxHttpHeadersWriteHelper<cool.scx.http.ScxHttpClientRequest>, cool.scx.http.ScxHttpClientRequest, cool.scx.http.sender.ScxHttpSender<cool.scx.http.ScxHttpClientResponse>, Http1ClientRequest
todo 待完成
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected cool.scx.http.headers.ScxHttpHeadersWritableprotected cool.scx.http.method.ScxHttpMethodprotected RequestTargetFormprotected cool.scx.http.uri.ScxURIWritableprotected cool.scx.http.version.HttpVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncool.scx.http.headers.ScxHttpHeadersWritableheaders()cool.scx.http.ScxHttpClientRequestheaders(cool.scx.http.headers.ScxHttpHeaders headers) cool.scx.http.method.ScxHttpMethodmethod()cool.scx.http.ScxHttpClientRequestmethod(cool.scx.http.method.ScxHttpMethod method) requestTargetForm(RequestTargetForm requestTargetForm) cool.scx.http.ScxHttpClientResponsesend(cool.scx.http.media.MediaWriter writer) cool.scx.http.uri.ScxURIWritableuri()cool.scx.http.ScxHttpClientRequesturi(cool.scx.http.uri.ScxURI uri) cool.scx.http.version.HttpVersionversion()cool.scx.http.ScxHttpClientRequestversion(cool.scx.http.version.HttpVersion version) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.ScxHttpClientRequest
method, uriMethods inherited from interface cool.scx.http.headers.ScxHttpHeadersReadHelper
contentEncoding, contentLength, contentType, cookies, getCookie, getHeader, getHeader, getSetCookie, setCookiesMethods inherited from interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
addCookie, addHeader, addHeader, addSetCookie, contentEncoding, contentLength, contentType, removeCookie, removeHeader, removeHeader, removeSetCookie, setHeader, setHeaderMethods inherited from interface cool.scx.http.sender.ScxHttpSender
send, send, send, send, send, send, send, send, send, send, send, sendEventStream, sendGzip
-
Field Details
-
version
protected cool.scx.http.version.HttpVersion version -
method
protected cool.scx.http.method.ScxHttpMethod method -
uri
protected cool.scx.http.uri.ScxURIWritable uri -
headers
protected cool.scx.http.headers.ScxHttpHeadersWritable headers -
requestTargetForm
-
-
Constructor Details
-
HttpClientRequest
-
-
Method Details
-
send
public cool.scx.http.ScxHttpClientResponse send(cool.scx.http.media.MediaWriter writer) throws cool.scx.http.sender.HttpSendException - Specified by:
sendin interfacecool.scx.http.ScxHttpClientRequest- Specified by:
sendin interfacecool.scx.http.sender.ScxHttpSender<cool.scx.http.ScxHttpClientResponse>- Throws:
cool.scx.http.sender.HttpSendException
-
version
public cool.scx.http.version.HttpVersion version()- Specified by:
versionin interfacecool.scx.http.ScxHttpClientRequest
-
method
public cool.scx.http.method.ScxHttpMethod method()- Specified by:
methodin interfacecool.scx.http.ScxHttpClientRequest
-
uri
public cool.scx.http.uri.ScxURIWritable uri()- Specified by:
uriin interfacecool.scx.http.ScxHttpClientRequest
-
headers
public cool.scx.http.headers.ScxHttpHeadersWritable headers()- Specified by:
headersin interfacecool.scx.http.ScxHttpClientRequest- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersReadHelper- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersWriteHelper<cool.scx.http.ScxHttpClientRequest>
-
version
public cool.scx.http.ScxHttpClientRequest version(cool.scx.http.version.HttpVersion version) - Specified by:
versionin interfacecool.scx.http.ScxHttpClientRequest
-
method
public cool.scx.http.ScxHttpClientRequest method(cool.scx.http.method.ScxHttpMethod method) - Specified by:
methodin interfacecool.scx.http.ScxHttpClientRequest
-
uri
public cool.scx.http.ScxHttpClientRequest uri(cool.scx.http.uri.ScxURI uri) - Specified by:
uriin interfacecool.scx.http.ScxHttpClientRequest
-
headers
public cool.scx.http.ScxHttpClientRequest headers(cool.scx.http.headers.ScxHttpHeaders headers) - Specified by:
headersin interfacecool.scx.http.ScxHttpClientRequest
-
requestTargetForm
- Specified by:
requestTargetFormin interfaceHttp1ClientRequest
-
requestTargetForm
- Specified by:
requestTargetFormin interfaceHttp1ClientRequest
-