Constructor and Description |
---|
ResponseImpl(short status)
Creates a new HTTP response.
|
ResponseImpl(short status,
Request request)
Creates a new HTTP response.
|
Modifier and Type | Method and Description |
---|---|
Request |
request()
The corresponding request object.
|
short |
status()
Status code.
|
public ResponseImpl(short status)
status
- The HTTP status code.public ResponseImpl(short status, Request request)
status
- The HTTP status code.request
- The HTTP request.Copyright © 2024. All rights reserved.