org.n52.security.common.artifact
Class HttpHeaderAttribute

java.lang.Object
  extended by org.n52.security.common.artifact.HttpHeaderAttribute
All Implemented Interfaces:
TransferAttribute

public class HttpHeaderAttribute
extends Object
implements TransferAttribute

Http Header Field as a Key-Value Pair of Strings.

Author:
reiprecht

Field Summary
static String HEADER_NAME_CONTENT_ENCODING
          Holds values like 'gzip' (this is the real "Content-Encoding"
static String HEADER_NAME_CONTENTCHARSET
           
static String HEADER_NAME_CONTENTTYPE
           
static String HEADER_NAME_COOKIE
           
static String HEADER_NAME_REFERER
           
static String HEADER_NAME_XFORWARDEDFOR
           
protected  String m_name
          Name of the HTTP header.
protected  String m_value
          String value HTTP header.
 
Fields inherited from interface org.n52.security.common.artifact.TransferAttribute
ENFORCEMENTPOINT_ID, HTTP_AUTH_BASIC_PASSWORD, HTTP_AUTH_BASIC_USERNAME, HTTP_COOKIES, HTTP_REQUEST, HTTP_RESPONSE, LICENSE_REFERENCE, PATHINFO_ATTR, QUERY_STRING_ATTR, REQUEST_IP_ATTR, RESPONSE_STATUS_CODE, SERVICE_BASE_URL
 
Method Summary
static HttpHeaderAttribute createHttpHeaderAttribute(String pName, String pValue)
           
 String getName()
           
 Object getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HEADER_NAME_CONTENTTYPE

public static final String HEADER_NAME_CONTENTTYPE
See Also:
Constant Field Values

HEADER_NAME_CONTENT_ENCODING

public static final String HEADER_NAME_CONTENT_ENCODING
Holds values like 'gzip' (this is the real "Content-Encoding"

See Also:
Constant Field Values

HEADER_NAME_CONTENTCHARSET

public static final String HEADER_NAME_CONTENTCHARSET
See Also:
Constant Field Values

HEADER_NAME_REFERER

public static final String HEADER_NAME_REFERER
See Also:
Constant Field Values

HEADER_NAME_COOKIE

public static final String HEADER_NAME_COOKIE
See Also:
Constant Field Values

HEADER_NAME_XFORWARDEDFOR

public static final String HEADER_NAME_XFORWARDEDFOR
See Also:
Constant Field Values

m_name

protected String m_name
Name of the HTTP header.


m_value

protected String m_value
String value HTTP header.

Method Detail

createHttpHeaderAttribute

public static HttpHeaderAttribute createHttpHeaderAttribute(String pName,
                                                            String pValue)

getName

public String getName()
Specified by:
getName in interface TransferAttribute

getValue

public Object getValue()
Specified by:
getValue in interface TransferAttribute

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004–2014 52north.org. All rights reserved.