Package | Description |
---|---|
com.teamdev.jxbrowser.navigation |
Contains classes and interfaces for working with navigation.
|
com.teamdev.jxbrowser.net |
Contains classes and interfaces for working with network.
|
com.teamdev.jxbrowser.net.callback |
The network service callbacks.
|
Modifier and Type | Method and Description |
---|---|
default java.util.List<HttpHeader> |
LoadUrlParams.extraHeaders()
Returns an immutable list of the extra HTTP headers that will be sent to the resource or an
empty list if there were no extra HTTP headers.
|
Modifier and Type | Method and Description |
---|---|
LoadUrlParams.Builder |
LoadUrlParams.Builder.addExtraHeader(HttpHeader httpHeader)
Adds an extra HTTP header to the HTTP headers that will be sent to the resource.
|
Modifier and Type | Method and Description |
---|---|
static HttpHeader |
HttpHeader.of(java.lang.String name,
java.lang.String value)
Returns an instance of the
HttpHeader with the given name and value . |
Modifier and Type | Method and Description |
---|---|
default java.util.List<HttpHeader> |
UrlRequestJob.Options.httpHeaders()
Returns an immutable list of HTTP headers.
|
Modifier and Type | Method and Description |
---|---|
UrlRequestJob.Options.Builder |
UrlRequestJob.Options.Builder.addHttpHeader(HttpHeader httpHeader)
Adds the HTTP header to the list of the HTTP headers.
|
Modifier and Type | Method and Description |
---|---|
default java.util.List<HttpHeader> |
BeforeStartTransactionCallback.Params.httpHeaders()
Returns an immutable list of the HTTP headers of the request or an empty list if the
request does not have any HTTP headers.
|
default java.util.List<HttpHeader> |
BeforeSendUploadDataCallback.Params.httpHeaders()
Returns an immutable list of the HTTP headers of the request or an empty list if the
request does not have any HTTP headers.
|
java.util.List<HttpHeader> |
InterceptUrlRequestCallback.Params.httpHeaders()
Returns an immutable list of the HTTP headers of the request or an empty list if the
request does not have any HTTP headers.
|
default java.util.List<HttpHeader> |
ReceiveHeadersCallback.Params.httpHeaders()
Returns an immutable list of the HTTP headers of the request or an empty list if the
request does not have any HTTP headers.
|
Modifier and Type | Method and Description |
---|---|
static BeforeStartTransactionCallback.Response |
BeforeStartTransactionCallback.Response.override(java.util.List<HttpHeader> httpHeaders)
Notifies the engine that the URL request should be updated with the given HTTP headers.
|
static ReceiveHeadersCallback.Response |
ReceiveHeadersCallback.Response.override(java.util.List<HttpHeader> httpHeaders)
Notifies the engine that the URL request should be updated with the given HTTP headers.
|