/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma seperated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @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 header.getValue(name); }
/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma separated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @param name the HTTP message header to get the value from * @param index if there are multiple values this selects one * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return header.getValue(name, index); }
/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma seperated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @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 header.getValue(name); }
/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma seperated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @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 header.getValue(name); }
/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma separated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @param name the HTTP message header to get the value from * @param index if there are multiple values this selects one * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return header.getValue(name, index); }
/** * This can be used to get the value of the first message header * that has the specified name. The value provided from this will * be trimmed so there is no need to modify the value, also if * the header name specified refers to a comma separated list of * values the value returned is the first value in that list. * This returns null if theres no HTTP message header. * * @param name the HTTP message header to get the value from * @param index if there are multiple values this selects one * * @return this returns the value that the HTTP message header */ public String getValue(String name, int index) { return header.getValue(name, index); }