Class HttpClientRequest
java.lang.Object
cool.scx.http.x.HttpClientRequest
- All Implemented Interfaces:
ScxHttpHeadersReadHelper,ScxHttpHeadersWriteHelper<ScxHttpClientRequest>,ScxHttpClientRequest,ScxHttpSender<ScxHttpClientResponse>,Http1ClientRequest
todo 待完成
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ScxHttpHeadersWritableprotected ScxHttpMethodprotected RequestTargetFormprotected ScxURIWritableprotected HttpVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheaders()headers(ScxHttpHeaders headers) method()method(ScxHttpMethod method) requestTargetForm(RequestTargetForm requestTargetForm) send(MediaWriter writer) uri()version()version(HttpVersion version) Methods inherited from class java.lang.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, setHeader
-
Field Details
-
version
-
method
-
uri
-
headers
-
requestTargetForm
-
-
Constructor Details
-
HttpClientRequest
-
-
Method Details
-
send
- Specified by:
sendin interfaceScxHttpClientRequest- Specified by:
sendin interfaceScxHttpSender<ScxHttpClientResponse>- Throws:
HttpSendException
-
version
- Specified by:
versionin interfaceScxHttpClientRequest
-
method
- Specified by:
methodin interfaceScxHttpClientRequest
-
uri
- Specified by:
uriin interfaceScxHttpClientRequest
-
headers
- Specified by:
headersin interfaceScxHttpClientRequest- Specified by:
headersin interfaceScxHttpHeadersReadHelper- Specified by:
headersin interfaceScxHttpHeadersWriteHelper<ScxHttpClientRequest>
-
version
- Specified by:
versionin interfaceScxHttpClientRequest
-
method
- Specified by:
methodin interfaceScxHttpClientRequest
-
uri
- Specified by:
uriin interfaceScxHttpClientRequest
-
headers
- Specified by:
headersin interfaceScxHttpClientRequest
-
requestTargetForm
- Specified by:
requestTargetFormin interfaceHttp1ClientRequest
-
requestTargetForm
- Specified by:
requestTargetFormin interfaceHttp1ClientRequest
-