HttpServerResponseAdapterprotected static class BeelineServletFilter.HttpServerResponseAdapter extends Object implements HttpServerResponseAdapter
| Modifier | Constructor | Description |
|---|---|---|
protected |
HttpServerResponseAdapter(javax.servlet.http.HttpServletResponse response) |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<String> |
getFirstHeader(String name) |
Return the first header value for the header name.
|
int |
getStatus() |
Return the HTTP status code.
|
protected HttpServerResponseAdapter(javax.servlet.http.HttpServletResponse response)
public int getStatus()
HttpServerResponseAdaptergetStatus in interface HttpServerResponseAdapterpublic Optional<String> getFirstHeader(String name)
HttpServerResponseAdaptergetFirstHeader in interface HttpServerResponseAdaptername - the header nameOptional.empty() if noneCopyright © 2019–2020 Honeycomb. All rights reserved.