public abstract class AbstractWebRequest extends AbstractRequest
Abstract AbstractWebRequest class.
Constructor and Description |
---|
AbstractWebRequest()
Constructor for AbstractWebRequest.
|
Modifier and Type | Method and Description |
---|---|
protected void |
baseUrl(String url)
baseUrl.
|
protected void |
build(org.asynchttpclient.RequestBuilder requestBuilder)
build.
|
protected String |
encode(String element)
encode.
|
protected String |
encode(String element,
String encoding)
encode.
|
org.asynchttpclient.Request |
getMessage()
getMessage.
|
protected void |
header(CharSequence header,
String value)
header.
|
protected void |
method(io.netty.handler.codec.http.HttpMethod method)
method.
|
org.asynchttpclient.RequestBuilder |
request()
request.
|
protected void |
urlParam(String name,
Object value)
urlParam.
|
buildToString, equals, hashCode, id, toString
public AbstractWebRequest()
Constructor for AbstractWebRequest.
public final org.asynchttpclient.RequestBuilder request()
request.
RequestBuilder
objectprotected void header(CharSequence header, String value)
header.
header
- a CharSequence
objectvalue
- a String
objectprotected void method(io.netty.handler.codec.http.HttpMethod method)
method.
method
- a HttpMethod
objectpublic org.asynchttpclient.Request getMessage()
getMessage.
Request
objectprotected void build(org.asynchttpclient.RequestBuilder requestBuilder)
build.
requestBuilder
- a RequestBuilder
objectCopyright © 2016–2024. All rights reserved.