Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.client;
 
Additional attachments that are specific to requests that are being proxied from one server to another

Author(s):
Stuart Douglas
 
public class ProxiedRequestAttachments {
    public static final AttachmentKey<StringREMOTE_ADDRESS = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringREMOTE_HOST = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringSERVER_NAME = AttachmentKey.create(String.class);
    public static final AttachmentKey<IntegerSERVER_PORT = AttachmentKey.create(Integer.class);
    public static final AttachmentKey<BooleanIS_SSL = AttachmentKey.create(Boolean.class);
    public static final AttachmentKey<StringREMOTE_USER = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringAUTH_TYPE = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringROUTE = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringSSL_CERT = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringSSL_CYPHER = AttachmentKey.create(String.class);
    public static final AttachmentKey<byte[]> SSL_SESSION_ID = AttachmentKey.create(byte[].class);
    public static final AttachmentKey<IntegerSSL_KEY_SIZE = AttachmentKey.create(Integer.class);
    public static final AttachmentKey<StringSECRET = AttachmentKey.create(String.class);
    public static final AttachmentKey<StringSTORED_METHOD = AttachmentKey.create(String.class);
New to GrepCode? Check out our FAQ X