public class HttpMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpMessage.HttpMethod |
Constructor and Description |
---|
HttpMessage(URL url,
HttpMessage.HttpMethod method,
String contentType,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
HttpMessage.HttpMethod |
getMethod() |
byte[] |
getPayload() |
URL |
getURL() |
public HttpMessage(URL url, HttpMessage.HttpMethod method, String contentType, byte[] payload)
public URL getURL()
public HttpMessage.HttpMethod getMethod()
public String getContentType()
public byte[] getPayload()
Copyright © 2016–2023. All rights reserved.