/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * * @return this returns the value that the HTTP message header */ public String getValue(String name) { return response.getValue(name); }
/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * @param index used if there are multiple headers present * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return response.getValue(name, index); }
/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * * @return this returns the value that the HTTP message header */ public String getValue(String name) { return response.getValue(name); }
@Override public String getNonStandardHeader(String code) { return baseResponse.getValue(code); }
/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * * @return this returns the value that the HTTP message header */ public String getValue(String name) { return response.getValue(name); }
/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * @param index used if there are multiple headers present * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return response.getValue(name, index); }
/** * This can be used to get the value of the first message header * that has the specified name. This will return the full string * representing the named header value. If the named header does * not exist then this will return a null value. * * @param name the HTTP message header to get the value from * @param index used if there are multiple headers present * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return response.getValue(name, index); }
String original = response.getValue(SEC_WEBSOCKET_PROTOCOL);
String original = response.getValue(SEC_WEBSOCKET_PROTOCOL);