public final class HttpProcessors extends Object
HttpProcessor
instances.Constructor and Description |
---|
HttpProcessors() |
Modifier and Type | Method and Description |
---|---|
static HttpProcessor |
client()
Creates
HttpProcessor initialized with default protocol interceptors
for client side HTTP/1.1 processing. |
static HttpProcessor |
client(String agentInfo)
Creates
HttpProcessor initialized with default protocol interceptors
for client side HTTP/1.1 processing. |
static HttpProcessorBuilder |
customClient(String agentInfo)
Creates
HttpProcessorBuilder initialized with default protocol interceptors
for client side HTTP/1.1 processing. |
static HttpProcessorBuilder |
customServer(String serverInfo)
Creates
HttpProcessorBuilder initialized with default protocol interceptors
for server side HTTP/1.1 processing. |
static HttpProcessor |
server()
Creates
HttpProcessor initialized with default protocol interceptors
for server side HTTP/1.1 processing. |
static HttpProcessor |
server(String serverInfo)
Creates
HttpProcessor initialized with default protocol interceptors
for server side HTTP/1.1 processing. |
public static HttpProcessorBuilder customServer(String serverInfo)
HttpProcessorBuilder
initialized with default protocol interceptors
for server side HTTP/1.1 processing.serverInfo
- the server info text or null
for default.public static HttpProcessor server(String serverInfo)
HttpProcessor
initialized with default protocol interceptors
for server side HTTP/1.1 processing.serverInfo
- the server info text or null
for default.public static HttpProcessor server()
HttpProcessor
initialized with default protocol interceptors
for server side HTTP/1.1 processing.public static HttpProcessorBuilder customClient(String agentInfo)
HttpProcessorBuilder
initialized with default protocol interceptors
for client side HTTP/1.1 processing.agentInfo
- the agent info text or null
for default.public static HttpProcessor client(String agentInfo)
HttpProcessor
initialized with default protocol interceptors
for client side HTTP/1.1 processing.agentInfo
- the agent info text or null
for default.public static HttpProcessor client()
HttpProcessor
initialized with default protocol interceptors
for client side HTTP/1.1 processing.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.