Skip navigation links
A B C D F G H I M N P R S T U V W 

A

AbstractUriHandler - Class in com.sdklite.net
The abstraction of UriHandler
AbstractUriHandler(String...) - Constructor for class com.sdklite.net.AbstractUriHandler
 
add(String, String...) - Method in class com.sdklite.net.http.FormBody.Builder
Add name and values
addHeader(String, String) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
addHeader(String, String) - Method in class com.sdklite.net.http.HttpRequest.Builder
 
addHeader(String, String) - Method in class com.sdklite.net.http.HttpResponse.Builder
 
addHeader(String, String) - Method in class com.sdklite.net.http.Part.Builder
 
addHeaders(HttpHeader...) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
addHeaders(Iterable<HttpHeader>) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
addHeaders(HttpHeader...) - Method in class com.sdklite.net.http.HttpRequest.Builder
 
addHeaders(HttpHeader...) - Method in class com.sdklite.net.http.HttpResponse.Builder
 
addHeaders(HttpHeader...) - Method in class com.sdklite.net.http.Part.Builder
 
addPart(Part) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified part into parts
addPart(String, PartEntity) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, byte[]) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, byte[], MimeType) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, File) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, File, MimeType) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, String) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, String, MimeType) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
addPart(String, InputStream) - Method in class com.sdklite.net.http.MultipartBody.Builder
Appends the specified name and part entity into parts
ARTIFACT_ID - Static variable in class com.sdklite.net.Build
 

B

Build - Class in com.sdklite.net
The build properties
Build() - Constructor for class com.sdklite.net.Build
 
build() - Method in class com.sdklite.net.http.FormBody.Builder
Instantialize a FormBody
build() - Method in class com.sdklite.net.http.HttpMessage.Builder
 
build() - Method in class com.sdklite.net.http.HttpRequest.Builder
 
build() - Method in class com.sdklite.net.http.HttpResponse.Builder
 
build() - Method in class com.sdklite.net.http.MultipartBody.Builder
Instantialize a multipart body
build() - Method in class com.sdklite.net.http.Part.Builder
 
Builder() - Constructor for class com.sdklite.net.http.FormBody.Builder
Default constructor
Builder() - Constructor for class com.sdklite.net.http.HttpMessage.Builder
 
Builder() - Constructor for class com.sdklite.net.http.HttpRequest.Builder
Default constructor
Builder() - Constructor for class com.sdklite.net.http.HttpResponse.Builder
 
Builder() - Constructor for class com.sdklite.net.http.MultipartBody.Builder
Default constructor
Builder() - Constructor for class com.sdklite.net.http.Part.Builder
Default constructor

C

com.sdklite.net - package com.sdklite.net
Provides network foundation classes
com.sdklite.net.http - package com.sdklite.net.http
Provides foundation classes for HTTP protocol

D

DnsResolver - Interface in com.sdklite.net
DnsResolver is used for DNS resolving to establish socket connection

F

FormBody - Class in com.sdklite.net.http
Represents the form entity
FormBody.Builder - Class in com.sdklite.net.http
Represents the builder of FormBody

G

getBoundary() - Method in class com.sdklite.net.http.MultipartBody.Builder
 
getBoundary() - Method in class com.sdklite.net.http.MultipartBody
Returns the boundary
getBoundary() - Method in class com.sdklite.net.http.MultipartSerializer
 
getCharset() - Method in class com.sdklite.net.http.HttpBody
 
getCharset(Charset) - Method in class com.sdklite.net.http.HttpBody
 
getCharset() - Method in interface com.sdklite.net.http.HttpEntity
Returns the charset
getCharset() - Method in class com.sdklite.net.http.MultipartBody.Builder
 
getCharset() - Method in class com.sdklite.net.http.MultipartBody
 
getCharset() - Method in class com.sdklite.net.MimeType
Returns the charset parameter or the defualt charset US-ASCII if charset parameter absent
getCharset(Charset) - Method in class com.sdklite.net.MimeType
Returns the charset parameter or the defualt charset if charset parameter absent
getContent() - Method in class com.sdklite.net.http.FormBody
 
getContent() - Method in interface com.sdklite.net.http.HttpEntity
Returns the content as input stream
getContent() - Method in class com.sdklite.net.http.MultipartBody
 
getContentLength() - Method in class com.sdklite.net.http.HttpBody
 
getContentLength() - Method in interface com.sdklite.net.http.HttpEntity
Returns the content length
getContentLength(HttpMessage) - Static method in class com.sdklite.net.http.HttpHeaders
Returns the Content-Length header value
getContentTransferEncoding() - Method in interface com.sdklite.net.http.PartEntity
 
getContentType() - Method in class com.sdklite.net.http.FormBody
 
getContentType() - Method in interface com.sdklite.net.http.HttpEntity
Returns the media type
getContentType() - Method in class com.sdklite.net.http.MultipartBody
 
getEntity() - Method in class com.sdklite.net.http.HttpMessage
 
getEntity() - Method in class com.sdklite.net.http.Part
 
getFilename() - Method in interface com.sdklite.net.http.PartEntity
Returns the filename
getHeader(String) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
getHeader(String) - Method in class com.sdklite.net.http.HttpMessage
 
getHeaders(HttpMessage) - Static method in class com.sdklite.net.http.HttpHeaders
Return all headers of HTTP message as a map
getHeaders() - Method in class com.sdklite.net.http.HttpMessage.Builder
 
getHeaders(String) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
getHeaders() - Method in class com.sdklite.net.http.HttpMessage
 
getHeaders(String) - Method in class com.sdklite.net.http.HttpMessage
 
getMethod() - Method in class com.sdklite.net.http.HttpRequest
Returns the HTTP method
getName() - Method in interface com.sdklite.net.http.HttpHeader
Returns the header name
getName() - Method in class com.sdklite.net.http.Part
Returns the name of part
getName() - Method in class com.sdklite.net.http.SimpleHttpHeader
 
getNames() - Method in class com.sdklite.net.http.FormBody
Returns all names in this form
getParameter(String) - Method in class com.sdklite.net.MimeType
Returns the value of the specified parameter or null if not exists
getParameter(String, String) - Method in class com.sdklite.net.MimeType
Returns the value of the specified parameter or null if not exists
getParameters() - Method in class com.sdklite.net.MimeType
Returns the parameter names
getParts() - Method in class com.sdklite.net.http.MultipartBody.Builder
 
getParts() - Method in class com.sdklite.net.http.MultipartBody
Returns the parts
getProtocol() - Method in class com.sdklite.net.http.HttpResponse
 
getReasonPhrase() - Method in class com.sdklite.net.http.HttpResponse
 
getStatusCode() - Method in class com.sdklite.net.http.HttpResponse
 
getSubtype() - Method in class com.sdklite.net.MimeType
Returns the subtype
getSupportedSchemes() - Method in class com.sdklite.net.AbstractUriHandler
 
getSupportedSchemes() - Method in interface com.sdklite.net.UriHandler
Returns the supported schemes
getType() - Method in class com.sdklite.net.MimeType
Returns the type
getUrl() - Method in class com.sdklite.net.http.HttpRequest
Returns the requested URL
getValue() - Method in interface com.sdklite.net.http.HttpHeader
Returns the header value
getValue() - Method in class com.sdklite.net.http.SimpleHttpHeader
 
getValues(String) - Method in class com.sdklite.net.http.FormBody
Returns all of the values associated with the specified name
GROUP_ID - Static variable in class com.sdklite.net.Build
 
guess(File) - Static method in class com.sdklite.net.MimeType
 
guess(File, MimeType) - Static method in class com.sdklite.net.MimeType
 
guess(String) - Static method in class com.sdklite.net.MimeType
 
guess(String, MimeType) - Static method in class com.sdklite.net.MimeType
 

H

hasParameter(String) - Method in class com.sdklite.net.MimeType
Determine if the specified parameter exists
HTTP_PERM_REDIRECT - Static variable in class com.sdklite.net.http.HttpResponse
 
HTTP_TEMP_REDIRECT - Static variable in class com.sdklite.net.http.HttpResponse
 
HttpBody - Class in com.sdklite.net.http
The basic HTTP message entity implementation
HttpEntity - Interface in com.sdklite.net.http
Represents the HTTP entity
HttpHeader - Interface in com.sdklite.net.http
Represents the HTTP header field-value pair
HttpHeaders - Class in com.sdklite.net.http
Standard HTTP headers
HttpMessage - Class in com.sdklite.net.http
Represents the HTTP message
HttpMessage.Builder - Class in com.sdklite.net.http
 
HttpMethod - Enum in com.sdklite.net.http
Represents the HTTP methods, including WebDAV methods
HttpRequest - Class in com.sdklite.net.http
Represents the HTTP request message
HttpRequest.Builder - Class in com.sdklite.net.http
Represents the builder of HTTP request
HttpResponse - Class in com.sdklite.net.http
Represents the HTTP response message
HttpResponse.Builder - Class in com.sdklite.net.http
Represents the builder of HTTP response message

I

invalidatesCache() - Method in enum com.sdklite.net.http.HttpMethod
Determine if cache should be invalidated
isRedirect() - Method in class com.sdklite.net.http.HttpResponse
 
isSchemeSupported(String) - Method in class com.sdklite.net.AbstractUriHandler
 
isSchemeSupported(String) - Method in interface com.sdklite.net.UriHandler
Determine if the specified scheme is supported
isSecure() - Method in class com.sdklite.net.http.HttpRequest
Determine if the protocol is secure
isSuccessful() - Method in class com.sdklite.net.http.HttpResponse
 
isWildcardSubtype() - Method in class com.sdklite.net.MimeType
Determine if the subtype is the wildcard character * or the wildcard character followed by a suffix (e.g.
isWildcardType() - Method in class com.sdklite.net.MimeType
Determine if the type is the wildcard character *

M

MalformedMimeTypeException - Exception in com.sdklite.net
Represents an exception caused by malformed MIME type
MalformedMimeTypeException() - Constructor for exception com.sdklite.net.MalformedMimeTypeException
Default constructor
MalformedMimeTypeException(String, Throwable) - Constructor for exception com.sdklite.net.MalformedMimeTypeException
Create an instance with message and cause
MalformedMimeTypeException(String) - Constructor for exception com.sdklite.net.MalformedMimeTypeException
Create an instance with message
MalformedMimeTypeException(Throwable) - Constructor for exception com.sdklite.net.MalformedMimeTypeException
Create an instance with cause
MimeType - Class in com.sdklite.net
MimeType(MimeType) - Constructor for class com.sdklite.net.MimeType
Clone an instance from mimeType
MimeType(String) - Constructor for class com.sdklite.net.MimeType
Create an instance
MimeType(String, String) - Constructor for class com.sdklite.net.MimeType
Create an instance
MimeType(String, String, Map<String, String>) - Constructor for class com.sdklite.net.MimeType
Create an instance
MultipartBody - Class in com.sdklite.net.http
Represents the multipart form data entity
MultipartBody.Builder - Class in com.sdklite.net.http
The builder of MultipartBody
MultipartSerializer - Class in com.sdklite.net.http
 
MultipartSerializer() - Constructor for class com.sdklite.net.http.MultipartSerializer
 

N

newBuilder() - Method in class com.sdklite.net.http.FormBody
Create a builder of FormBody
newBuilder() - Method in class com.sdklite.net.http.HttpMessage
 
newBuilder() - Method in class com.sdklite.net.http.HttpRequest
 
newBuilder() - Method in class com.sdklite.net.http.HttpResponse
 
newBuilder() - Method in class com.sdklite.net.http.MultipartBody
newBuilder() - Method in class com.sdklite.net.http.Part
 
newInstance(MimeType, byte[], int, int) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(String, byte[], int, int) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(MimeType, byte[]) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(String, byte[]) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(MimeType, String) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(String, String) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(MimeType, File) - Static method in class com.sdklite.net.http.HttpBody
 
newInstance(String, File) - Static method in class com.sdklite.net.http.HttpBody
 

P

parse(String) - Static method in class com.sdklite.net.http.HttpHeaders
Parse the specified string as a HTTP header
parse(String) - Static method in class com.sdklite.net.MimeType
Parse string as MimeType
Part - Class in com.sdklite.net.http
Represent the HTTP multipart form data part
Part.Builder - Class in com.sdklite.net.http
Represents the builder of Part
PartEntity - Interface in com.sdklite.net.http
Represents the HTTP multipart message entity
permitsRequestBody() - Method in enum com.sdklite.net.http.HttpMethod
Determine if request body is permitted

R

removeHeader(String) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
requiresRequestBody() - Method in enum com.sdklite.net.http.HttpMethod
Determine if request body is required
resolve(String) - Method in interface com.sdklite.net.DnsResolver
Resolve the specified hostname as IP address
REVISION - Static variable in class com.sdklite.net.Build
 

S

serialize(Object) - Method in class com.sdklite.net.http.MultipartSerializer
 
setBoundary(String) - Method in class com.sdklite.net.http.MultipartBody.Builder
Sets the boundary
setCharset(Charset) - Method in class com.sdklite.net.http.MultipartBody.Builder
Sets the charset
setEntity(HttpEntity) - Method in class com.sdklite.net.http.HttpMessage.Builder
 
setEntity(HttpEntity) - Method in class com.sdklite.net.http.HttpRequest.Builder
 
setEntity(HttpEntity) - Method in class com.sdklite.net.http.HttpResponse.Builder
 
setEntity(HttpEntity) - Method in class com.sdklite.net.http.Part.Builder
 
setMethod(HttpMethod) - Method in class com.sdklite.net.http.HttpRequest.Builder
Sets the HTTP method
setName(String) - Method in class com.sdklite.net.http.Part.Builder
Sets the name of part
setProtocol(String) - Method in class com.sdklite.net.http.HttpResponse.Builder
Sets the protocol identifier
setReasonPhrase(String) - Method in class com.sdklite.net.http.HttpResponse.Builder
Sets the reason phrase
setStatusCode(int) - Method in class com.sdklite.net.http.HttpResponse.Builder
Sets the status code
setUrl(String) - Method in class com.sdklite.net.http.HttpRequest.Builder
Set the request URL
SimpleHttpHeader - Class in com.sdklite.net.http
 
SimpleHttpHeader(String, String) - Constructor for class com.sdklite.net.http.SimpleHttpHeader
 
SYSTEM - Static variable in interface com.sdklite.net.DnsResolver
The system wide DNS resolver

T

toString() - Method in class com.sdklite.net.http.SimpleHttpHeader
 
toString() - Method in class com.sdklite.net.MimeType
 

U

UnsupportedSchemeException - Exception in com.sdklite.net
Represents an exception caused by unsupported URI scheme
UnsupportedSchemeException(String) - Constructor for exception com.sdklite.net.UnsupportedSchemeException
Create an instance with the specified message
UriHandler - Interface in com.sdklite.net
Represents the URI handler

V

valueOf(String) - Static method in enum com.sdklite.net.http.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sdklite.net.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.sdklite.net.Build
 

W

writeTo(OutputStream) - Method in class com.sdklite.net.http.FormBody
 
writeTo(OutputStream) - Method in class com.sdklite.net.http.HttpBody
 
writeTo(OutputStream) - Method in interface com.sdklite.net.http.HttpEntity
Write this entity into out
writeTo(OutputStream) - Method in class com.sdklite.net.http.MultipartBody
 
A B C D F G H I M N P R S T U V W 
Skip navigation links

Copyright © 2015–2017 SDKLite. All rights reserved.