Package com.teamdev.jxbrowser.net
Interface UrlRequestJob.Options
- Enclosing interface:
- UrlRequestJob
public static interface UrlRequestJob.Options
The options needed to initialize
UrlRequestJob
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<HttpHeader>
Returns an immutable list of HTTP headers.default HttpStatus
Returns the HTTP status code.newBuilder
(HttpStatus httpStatus) Creates a newUrlRequestJob
builder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newUrlRequestJob
builder with the given required parameters.- Parameters:
httpStatus
- the HTTP status code- Returns:
- a new
UrlRequestJob.Builder
instance
-
httpStatus
Returns the HTTP status code. -
httpHeaders
Returns an immutable list of HTTP headers.
-