Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.client;
 
A client response. This just contains the parsed response header, the response body can be read from the ClientExchange.

Author(s):
Stuart Douglas
public final class ClientResponse extends AbstractAttachable {
    private final HeaderMap responseHeaders;
    private final int responseCode;
    private final String status;
    private final HttpString protocol;
    public ClientResponse(int responseCodeString statusHttpString protocol) {
        this. = responseCode;
        this. = status;
        this. = protocol;
        this. = new HeaderMap();
    }
    public ClientResponse(int responseCodeString statusHttpString protocolHeaderMap headers) {
        this. = responseCode;
        this. = status;
        this. = protocol;
        this. = headers;
    }
    public HeaderMap getResponseHeaders() {
        return ;
    }
    public HttpString getProtocol() {
        return ;
    }
    public int getResponseCode() {
        return ;
    }
    public String getStatus() {
        return ;
    }
New to GrepCode? Check out our FAQ X