- ACCEPT - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.1
- ACCEPT_CHARSET - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.2
- ACCEPT_ENCODING - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.3
- ACCEPT_LANGUAGE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.4
- ACCEPT_RANGES - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.5
- AcceptLanguage - Class in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/8/7.
- AcceptLanguage(Locale, double) - Constructor for class com.yanzhenjie.andserver.http.AcceptLanguage
-
- AcceptLanguage - Class in com.yanzhenjie.andserver.util
-
- AcceptLanguage(Locale, double) - Constructor for class com.yanzhenjie.andserver.util.AcceptLanguage
-
Deprecated.
- Access_Control_Allow_Credentials - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Allow-Credentials.
- Access_Control_Allow_Headers - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Allow-Headers.
- Access_Control_Allow_Methods - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Allow-Methods.
- Access_Control_Allow_Origin - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Allow-Origin.
- Access_Control_Expose_Headers - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Expose-Headers.
- Access_Control_Max_Age - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Max-Age.
- Access_Control_Request_Headers - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Request-Headers.
- Access_Control_Request_Method - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
Access-Control-Request-Method.
- add(Session) - Method in interface com.yanzhenjie.andserver.http.session.SessionManager
-
Add this session to the set of active sessions for this SessionManager.
- add(Session) - Method in class com.yanzhenjie.andserver.http.session.StandardSessionManager
-
- add(K, V) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- add(K, V) - Method in interface com.yanzhenjie.andserver.util.MultiValueMap
-
Add the given single value to the current list of values for the given key.
- addAdapter(HandlerAdapter) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- addAdapter(HandlerAdapter) - Method in interface com.yanzhenjie.andserver.register.Register
-
Increase the handler adapter.
- addComparator(Comparator<? extends T>) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Add a Comparator to the end of the chain.
- addComparator(Comparator<? extends T>, boolean) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Add a Comparator to the end of the chain using the provided sort order.
- addCookie(Cookie) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Adds the specified cookie to the response.
- addCookie(Cookie) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- addCookie(Cookie) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- addDateHeader(String, long) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Adds a response header with the given name and date-value.
- addDateHeader(String, long) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- addDateHeader(String, long) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- addEndSlash(String) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Add '/' at the ending.
- addHeader(String, String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Adds a response header with the given name and value.
- addHeader(String, String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- addHeader(String, String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- addInterceptor(HandlerInterceptor) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- addInterceptor(HandlerInterceptor) - Method in interface com.yanzhenjie.andserver.register.Register
-
Increase handler interceptor.
- addIntHeader(String, int) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Adds a response header with the given name and integer value.
- addIntHeader(String, int) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- addIntHeader(String, int) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- Addition - Class in com.yanzhenjie.andserver.framework.mapping
-
Created by Zhenjie Yan on 2018/9/9.
- Addition() - Constructor for class com.yanzhenjie.andserver.framework.mapping.Addition
-
- addObjectToArray(A[], O) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Append the given object to the given array, returning a new array consisting of the input array contents plus the
given object.
- addPath(int) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(long) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(boolean) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(char) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(double) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(float) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(CharSequence) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addPath(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addProxy(String, String) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
Add host address to proxy.
- addProxy(String, String) - Method in class com.yanzhenjie.andserver.server.ProxyServer.Builder
-
- addQuery(String, int) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, long) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, boolean) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, char) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, double) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, float) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, short) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, CharSequence) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addQuery(String, List<String>) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- addRule(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Method
-
- addRule(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Mime
-
- addRule(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Pair
-
- addRule(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Path
-
- addStartSlash(String) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Add the '/' to the beginning.
- addStringToArray(String[], String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Append the given String to the given String array, returning a new array consisting of the input
array contents plus the given String.
- addWebsite(Website) - Method in class com.yanzhenjie.andserver.framework.config.Delegate
-
- addWebsite(Website) - Method in interface com.yanzhenjie.andserver.framework.config.WebConfig.Delegate
-
- AGE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.6
- ALL - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type that includes all media ranges (i.e.
- ALL_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
A String equivalent of MediaType#ALL.
- allFileMaxSize(long) - Method in class com.yanzhenjie.andserver.framework.config.Multipart.Builder
-
Set the maximum size (in bytes) allowed for uploading.
- ALLOW - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.1, RFC 2616 (HTTP/1.1) Section 14.7
- allowBody() - Method in enum com.yanzhenjie.andserver.http.HttpMethod
-
Whether to allow the body to be transmitted.
- ANDROID_CONTEXT - Static variable in interface com.yanzhenjie.andserver.http.HttpContext
-
- AndServer - Class in com.yanzhenjie.andserver
-
Created by Zhenjie Yan on 2018/6/9.
- AndServer() - Constructor for class com.yanzhenjie.andserver.AndServer
-
- appendMd5DigestAsHex(byte[], StringBuilder) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Append a hexadecimal string representation of the MD5 digest of the given bytes to the given StringBuilder.
- appendMd5DigestAsHex(InputStream, StringBuilder) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Append a hexadecimal string representation of the MD5 digest of the given inputStream to the given StringBuilder.
- appendTo(StringBuilder) - Method in class com.yanzhenjie.andserver.util.MimeType
-
- APPLICATION_ATOM_XML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/atom+xml.
- APPLICATION_ATOM_XML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_FORM_URLENCODED - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/x-www-form-urlencoded.
- APPLICATION_FORM_URLENCODED_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_JSON - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/json.
- APPLICATION_JSON_UTF8 - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/json;charset=UTF-8.
- APPLICATION_JSON_UTF8_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_JSON_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
A String equivalent of MediaType#APPLICATION_JSON.
- APPLICATION_OCTET_STREAM - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/octet-stream.
- APPLICATION_OCTET_STREAM_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_PDF - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/pdf.
- APPLICATION_PDF_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_RSS_XML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/rss+xml.
- APPLICATION_RSS_XML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_XHTML_XML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/xhtml+xml.
- APPLICATION_XHTML_XML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_XML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/xml.
- APPLICATION_XML_UTF8 - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for application/xml.
- APPLICATION_XML_UTF8_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- APPLICATION_XML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- applyRelativePath(String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Apply the given relative path to the given Java resource path, assuming standard Java folder separation (i.e.
- arrayToCommaDelimitedString(Object[]) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a String array into a comma delimited String (i.e., CSV).
- arrayToDelimitedString(Object[], String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a String array into a delimited String (e.g.
- arrayToList(Object) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Convert the supplied array into a List.
- Assert - Class in com.yanzhenjie.andserver.util
-
Created by Zhenjie Yan on 2018/7/5.
- Assert() - Constructor for class com.yanzhenjie.andserver.util.Assert
-
- AssetsReader(AssetManager) - Constructor for class com.yanzhenjie.andserver.framework.website.AssetsWebsite.AssetsReader
-
- AssetsWebsite - Class in com.yanzhenjie.andserver.framework.website
-
Created by Zhenjie Yan on 2018/9/7.
- AssetsWebsite(Context, String) - Constructor for class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
Create a website object.
- AssetsWebsite(Context, String, String) - Constructor for class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
Create a website object.
- AssetsWebsite.AssetsReader - Class in com.yanzhenjie.andserver.framework.website
-
- AUTHORIZATION - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.2, RFC 2616 (HTTP/1.1) Section 14.8
- CACHE_CONTROL - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.9
- canRead(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
If the folder can be readResponse.
- canWrite(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
If the folder can be written.
- capitalize(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char).
- caseInsensitiveValueOf(E[], String) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Case insensitive alternative to Enum.valueOf(Class, String).
- changeSessionId() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Change the session id of the current session associated with this request and return the new session id, if there
is no session associated with the request, an IllegalStateException is thrown.
- changeSessionId() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- changeSessionId(Session) - Method in interface com.yanzhenjie.andserver.http.session.SessionManager
-
Change the session ID of the current session to a new randomly generated session ID.
- changeSessionId(Session) - Method in class com.yanzhenjie.andserver.http.session.StandardSessionManager
-
- changeSessionId() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- checkParameters(String, String) - Method in class com.yanzhenjie.andserver.util.MediaType
-
- checkParameters(String, String) - Method in class com.yanzhenjie.andserver.util.MimeType
-
- cleanPath(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
- cleanupMultipart(MultipartRequest) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Cleanup any resources used for the multipart handling, like a storage for the uploaded files.
- cleanupMultipart(MultipartRequest) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- clear() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- clear() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- clearPath() - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- clearQuery() - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- clone() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
- clone() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- clone() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- closeQuietly(Closeable) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- collectionToCommaDelimitedString(Collection<?>) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a Collection into a delimited String (e.g., CSV).
- collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a Collection to a delimited String (e.g.
- collectionToDelimitedString(Collection<?>, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a Collection into a delimited String (e.g.
- CollectionUtils - Class in com.yanzhenjie.andserver.util
-
- CollectionUtils() - Constructor for class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
- com.yanzhenjie.andserver - package com.yanzhenjie.andserver
-
- com.yanzhenjie.andserver.error - package com.yanzhenjie.andserver.error
-
- com.yanzhenjie.andserver.framework - package com.yanzhenjie.andserver.framework
-
- com.yanzhenjie.andserver.framework.body - package com.yanzhenjie.andserver.framework.body
-
- com.yanzhenjie.andserver.framework.config - package com.yanzhenjie.andserver.framework.config
-
- com.yanzhenjie.andserver.framework.cross - package com.yanzhenjie.andserver.framework.cross
-
- com.yanzhenjie.andserver.framework.handler - package com.yanzhenjie.andserver.framework.handler
-
- com.yanzhenjie.andserver.framework.mapping - package com.yanzhenjie.andserver.framework.mapping
-
- com.yanzhenjie.andserver.framework.view - package com.yanzhenjie.andserver.framework.view
-
- com.yanzhenjie.andserver.framework.website - package com.yanzhenjie.andserver.framework.website
-
- com.yanzhenjie.andserver.http - package com.yanzhenjie.andserver.http
-
- com.yanzhenjie.andserver.http.cookie - package com.yanzhenjie.andserver.http.cookie
-
- com.yanzhenjie.andserver.http.multipart - package com.yanzhenjie.andserver.http.multipart
-
- com.yanzhenjie.andserver.http.session - package com.yanzhenjie.andserver.http.session
-
- com.yanzhenjie.andserver.register - package com.yanzhenjie.andserver.register
-
- com.yanzhenjie.andserver.server - package com.yanzhenjie.andserver.server
-
- com.yanzhenjie.andserver.util - package com.yanzhenjie.andserver.util
-
- com.yanzhenjie.andserver.util.comparator - package com.yanzhenjie.andserver.util.comparator
-
- commaDelimitedListToSet(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a comma delimited list (e.g., a row from a CSV file) into a set.
- commaDelimitedListToStringArray(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Convert a comma delimited list (e.g., a row from a CSV file) into an array of strings.
- compare(T, T) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
- compare(T, T) - Method in class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
- compare(T, T) - Method in class com.yanzhenjie.andserver.util.MimeType.SpecificityComparator
-
- compareParameters(T, T) - Method in class com.yanzhenjie.andserver.util.MimeType.SpecificityComparator
-
- compareTo(MimeType) - Method in class com.yanzhenjie.andserver.util.MimeType
-
Compares this MediaType to another alphabetically.
- ComponentRegister - Class in com.yanzhenjie.andserver
-
Created by Zhenjie Yan on 2018/9/23.
- ComponentRegister(Context) - Constructor for class com.yanzhenjie.andserver.ComponentRegister
-
- CompoundComparator<T> - Class in com.yanzhenjie.andserver.util.comparator
-
Created by Zhenjie Yan on 2018/7/11.
- CompoundComparator() - Constructor for class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Construct a CompoundComparator with initially no Comparators.
- CompoundComparator(Comparator...) - Constructor for class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Construct a CompoundComparator from the Comparators in the provided array.
- concatenateStringArrays(String[], String[]) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Concatenate the given String arrays into one, with overlapping array elements included twice.
- CONNECTION - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.10
- contains(Iterator<?>, Object) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Check whether the given Iterator contains the given element.
- contains(Enumeration<?>, Object) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Check whether the given Enumeration contains the given element.
- containsAny(Collection<?>, Collection<?>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Return true if any element in 'candidates' is contained in 'source'; otherwise returns
false.
- containsConstant(Enum<?>[], String) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Check whether the given array of enum constants contains a constant with the given name, ignoring case when
determining a match.
- containsConstant(Enum<?>[], String, boolean) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Check whether the given array of enum constants contains a constant with the given name.
- containsElement(Object[], Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Check whether the given array contains the given element.
- containsHeader(String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Returns a boolean indicating whether the named response header has already been set.
- containsHeader(String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- containsHeader(String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- containsInstance(Collection<?>, Object) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Check whether the given Collection contains the given element instance.
- containsKey(Object) - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- containsKey(Object) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- containsValue(Object) - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- containsValue(Object) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- containsWhitespace(CharSequence) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Check whether the given CharSequence contains any whitespace characters.
- containsWhitespace(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Check whether the given String contains any whitespace characters.
- CONTENT_ENCODING - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.3, RFC 2616 (HTTP/1.1) Section 14.11
- CONTENT_LANGUAGE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.12
- CONTENT_LENGTH - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.4, RFC 2616 (HTTP/1.1) Section 14.13
- CONTENT_LOCATION - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.14
- CONTENT_MD5 - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.15
- CONTENT_RANGE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.16
- CONTENT_TYPE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.5, RFC 2616 (HTTP/1.1) Section 14.17
- contentEncoding() - Method in interface com.yanzhenjie.andserver.http.RequestBody
-
Retrieve the character encoding for the request.
- contentEquals(InputStream, InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- contentEquals(Reader, Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- contentEqualsIgnoreEOL(Reader, Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- contentLength() - Method in class com.yanzhenjie.andserver.framework.body.FileBody
-
- contentLength() - Method in class com.yanzhenjie.andserver.framework.body.StreamBody
-
- contentLength() - Method in class com.yanzhenjie.andserver.framework.body.StringBody
-
- contentLength() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- contentLength() - Method in interface com.yanzhenjie.andserver.http.ResponseBody
-
Get the content-length of the message body, if the length is unknown, return a negative value.
- ContentNotAcceptableException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/9/8.
- ContentNotAcceptableException() - Constructor for exception com.yanzhenjie.andserver.error.ContentNotAcceptableException
-
- ContentNotAcceptableException(String, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.ContentNotAcceptableException
-
- ContentNotSupportedException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/9/8.
- ContentNotSupportedException(MediaType) - Constructor for exception com.yanzhenjie.andserver.error.ContentNotSupportedException
-
- ContentNotSupportedException(MediaType, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.ContentNotSupportedException
-
- contentType() - Method in class com.yanzhenjie.andserver.framework.body.FileBody
-
- contentType() - Method in class com.yanzhenjie.andserver.framework.body.JsonBody
-
- contentType() - Method in class com.yanzhenjie.andserver.framework.body.StreamBody
-
- contentType() - Method in class com.yanzhenjie.andserver.framework.body.StringBody
-
- contentType() - Method in interface com.yanzhenjie.andserver.http.RequestBody
-
Get the Content-Type of the message body, including charset.
- contentType() - Method in interface com.yanzhenjie.andserver.http.ResponseBody
-
Get the content-type of the message body, including charset.
- convert(Object, MediaType) - Method in interface com.yanzhenjie.andserver.framework.MessageConverter
-
Convert a specific output to the response body.
- convert(InputStream, MediaType, Type) - Method in interface com.yanzhenjie.andserver.framework.MessageConverter
-
Convert RequestBody to a object.
- convertKey(String) - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
Convert the given key to a case-insensitive key.
- Cookie - Class in com.yanzhenjie.andserver.http.cookie
-
Created by Zhenjie Yan on 2018
- Cookie(String, String) - Constructor for class com.yanzhenjie.andserver.http.cookie.Cookie
-
Constructs a cookie with the specified name and value.
- COOKIE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 6265 (HTTP/1.0) Section 4.2
- CookieMissingException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/9/9.
- CookieMissingException(String) - Constructor for exception com.yanzhenjie.andserver.error.CookieMissingException
-
- CookieMissingException(String, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.CookieMissingException
-
- CookieMissingException(Throwable) - Constructor for exception com.yanzhenjie.andserver.error.CookieMissingException
-
- CookieProcessor - Interface in com.yanzhenjie.andserver.http.cookie
-
Created by Zhenjie Yan on 2018/7/27.
- copyQualityValue(MediaType) - Method in class com.yanzhenjie.andserver.util.MediaType
-
Return a replica of this instance with the quality value of the given MediaType.
- countOccurrencesOf(String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Count the occurrences of the substring sub in string str.
- createEmptyInput() - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- createFile(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a file, If the file exists is not created.
- createFile(File) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a file, If the file exists is not created.
- createFolder(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a folder, If the folder exists is not created.
- createFolder(File) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a folder, If the folder exists is not created.
- createMultipartFile(FileItem) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- createNewFile(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a new file, if the file exists, delete and create again.
- createNewFile(File) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a new file, if the file exists, delete and create again.
- createNewFolder(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a folder, If the folder exists is not created.
- createNewFolder(File) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Create a folder, If the folder exists is not created.
- createSession() - Method in interface com.yanzhenjie.andserver.http.session.SessionManager
-
Create a new session object.
- createSession() - Method in class com.yanzhenjie.andserver.http.session.StandardSessionManager
-
- CrossOrigin - Class in com.yanzhenjie.andserver.framework.cross
-
Created by Zhenjie Yan on 10/16/20.
- CrossOrigin() - Constructor for class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- generateHeader(Cookie) - Method in interface com.yanzhenjie.andserver.http.cookie.CookieProcessor
-
Generate the Set-Cookie HTTP header value for the given Cookie.
- generateHeader(Cookie) - Method in class com.yanzhenjie.andserver.http.cookie.StandardCookieProcessor
-
- generateId() - Method in interface com.yanzhenjie.andserver.http.session.IdGenerator
-
Generate and return a new identifier.
- generateId() - Method in class com.yanzhenjie.andserver.http.session.StandardIdGenerator
-
- get(Object) - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- get(Object) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- getAccept() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the preferred
MediaType that the client will accept content in, based on the Accept header.
- getAccept() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getAccept() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getAcceptLanguage() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the preferred Locale that the client will accept content in, based on the Accept-Language
header.
- getAcceptLanguage() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getAcceptLanguage() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getAcceptLanguages() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns a List of Locale objects indicating, in decreasing order starting with the preferred
Locale, the locales that are acceptable to the client based on the Accept-Language header.
- getAcceptLanguages() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getAcceptLanguages() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getAccepts() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns a
List of
MediaType objects indicating, in decreasing order starting with the preferred
MediaType, the media types that are acceptable to the client based on the
Accept header.
- getAccepts() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getAccepts() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getAddition() - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getAddition() - Method in interface com.yanzhenjie.andserver.framework.handler.MethodHandler
-
Get addition configuration, addition provides some added value.
- getAddition() - Method in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- getAllFileMaxSize() - Method in class com.yanzhenjie.andserver.framework.config.Multipart
-
- getAllowedHeaders() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- getAttribute(String) - Method in interface com.yanzhenjie.andserver.http.HttpContext
-
Obtains attribute with the given name.
- getAttribute(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getAttribute(String) - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns the object bound with the specified name in this session, or null if no object is bound under the
name.
- getAttribute(String) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getAttribute(String) - Method in class com.yanzhenjie.andserver.http.StandardContext
-
- getAttribute(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getAttributeNames() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns an Enumeration of String objects containing the names of all the objects bound to this
session.
- getAttributeNames() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getBody(HttpRequest, HttpResponse) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
- getBody(HttpRequest, HttpResponse) - Method in class com.yanzhenjie.andserver.framework.website.FileBrowser
-
- getBody(HttpRequest, HttpResponse) - Method in class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
- getBody(HttpRequest, HttpResponse) - Method in class com.yanzhenjie.andserver.framework.website.Website
-
- getBody() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Get the response body.
- getBody() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getBody() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getBooleanType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getBytes() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return the contents of the file as an array of bytes.
- getBytes() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getByteType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getCharacterEncoding() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- getCharset() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Return the character set, as indicated by a charset parameter, if any.
- getCharType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getComment() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Returns the comment describing the purpose of this cookie, or null if the cookie has no comment.
- getComparatorCount() - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Returns the number of aggregated comparators.
- getConsume() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getContentLength() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is
not known.
- getContentLength() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- getContentLength() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getContentLength() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getContentType() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the MIME type of the body of the request, or null if the type is not known.
- getContentType() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- getContentType() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return the content type of the file.
- getContentType() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getContentType() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getContentType() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getContext() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Get the http context of this request.
- getContext() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getContext() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getCookie(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Return a
Cookie object, if there is no cookie corresponding to this name, it returns
null.
- getCookie(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getCookie(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getCookies() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an
List containing all of the
Cookie objects the client sent with this request.
- getCookies() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getCookies() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getCookieValue(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Gets the value of the cookie with the specified name.
- getCookieValue(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getCookieValue(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getCreatedTime() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
- getCreatedTime() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getCrossOrigin() - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getCrossOrigin() - Method in interface com.yanzhenjie.andserver.framework.handler.MethodHandler
-
Get cross origin information.
- getCrossOrigin() - Method in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- getCurrentDate() - Static method in class com.yanzhenjie.andserver.util.HttpDateFormat
-
Get the current date in HTTP format.
- getDateHeader(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the value of the specified request header as a long value that represents a Date object.
- getDateHeader(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getDateHeader(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getDirSize(String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
Access to a directory available size.
- getDisplayString(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a content-based String representation if obj is not null; otherwise returns an empty
String.
- getDomain() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Gets the domain name of this Cookie.
- getDoubleType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getETag(HttpRequest) - Method in interface com.yanzhenjie.andserver.framework.ETag
-
Get the ETag requesting the specified resource.
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.FileBrowser
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
- getETag(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.Website
-
- getExposedHeaders() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- getFile(String) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Return the contents plus description of an uploaded file in this request, or null if it does not exist.
- getFile(String) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getFileItem() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
Return the underlying FileItem instance.
- getFileMap() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Return a Map of the multipart files contained in this request.
- getFileMap() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getFileMaxSize() - Method in class com.yanzhenjie.andserver.framework.config.Multipart
-
- getFileMediaType(String) - Static method in class com.yanzhenjie.andserver.util.MediaType
-
- getFilename() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return the original filename in the client's filesystem.
- getFilename() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getFilename(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Extract the filename from the given Java resource path, e.g.
- getFilenameExtension(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Extract the filename extension from the given Java resource path, e.g.
- getFileNames() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Return an Iterator of String objects containing the parameter names of the multipart files
contained in this request.
- getFileNames() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getFiles(String) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Return the contents plus description of uploaded files in this request, or an empty list if it does not exist.
- getFiles(String) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getFirst(K) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- getFirst(K) - Method in interface com.yanzhenjie.andserver.util.MultiValueMap
-
Return the first value for the given key.
- getFloatType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getFragment() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getHandler(HttpRequest) - Method in interface com.yanzhenjie.andserver.framework.handler.HandlerAdapter
-
Get the handler that handles the current request.
- getHandler(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.MappingAdapter
-
- getHandler(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.Website
-
- getHeader() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getHeader(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the value of the specified request header as a String.
- getHeader(String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Gets the value of the response header with the given name.
- getHeader(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getHeader(String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- getHeader(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getHeader(String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- getHeaderNames() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an List of all the header names this request contains, or empty List if the request has
no headers.
- getHeaderNames() - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Gets the names of the headers of this response.
- getHeaderNames() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getHeaderNames() - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- getHeaderNames() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getHeaderNames() - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- getHeaders(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns all the values of the specified request header as an List of String.
- getHeaders(String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Gets the values of the response header with the given name.
- getHeaders(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getHeaders(String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- getHeaders(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getHeaders(String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- getHost() - Method in class com.yanzhenjie.andserver.framework.handler.MappingAdapter
-
Get the host of the HandlerAdapter.
- getHost() - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getHost() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getId() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns a string containing the unique identifier assigned to this session.
- getId() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getIdentityHexString(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hex String form of an object's identity hash code.
- getIndexFileName() - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Get the name of the indexFile.
- getInetAddress() - Method in class com.yanzhenjie.andserver.server.BasicServer
-
- getInetAddress() - Method in interface com.yanzhenjie.andserver.Server
-
Get the local address of this server socket.
- getInputStream(String) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite.AssetsReader
-
Get stream file.
- getInputStream() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- getInstance() - Static method in class com.yanzhenjie.andserver.util.Executors
-
Get instance.
- getIntHeader(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the value of the specified request header as an int.
- getIntHeader(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getIntHeader(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getIntType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getKey() - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- getLastAccessedTime() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns the last time the client sent a request associated with this session, as the number of milliseconds since
midnight January 1, 1970 GMT, and marked by the time the container received the request.
- getLastAccessedTime() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- getLastModified(HttpRequest) - Method in interface com.yanzhenjie.andserver.framework.LastModified
-
The return value will be sent to the HTTP client as Last-Modified header, and compared with If-Modified-Since headers that the client sends back.
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.FileBrowser
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
- getLastModified(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.Website
-
- getLocalAddr() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
The default behavior of this method is to return getLocalAddr() on the wrapped request object.
- getLocalAddr() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getLocalAddr() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getLocale() - Method in class com.yanzhenjie.andserver.http.AcceptLanguage
-
- getLocale() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
Return the locale used by this LinkedCaseInsensitiveMap.
- getLocalName() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the host name of the Internet Protocol (IP) interface on which the request was received.
- getLocalName() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getLocalName() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getLocalPort() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
- getLocalPort() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getLocalPort() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getLongType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getMapping() - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- getMapping() - Method in interface com.yanzhenjie.andserver.framework.handler.MethodHandler
-
Get mapping configuration, mapping provides all the annotation information for this method.
- getMapping() - Method in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- getMappingMap() - Method in class com.yanzhenjie.andserver.framework.handler.MappingAdapter
-
Get all the mappings for this adapter.
- getMaxAge() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- getMaxAge() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Gets the maximum age in seconds of this Cookie.
- getMaxInactiveInterval() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns the maximum time interval, in seconds, that the server will keep this session open between client
accesses.
- getMaxInactiveInterval() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- getMaxInMemorySize() - Method in class com.yanzhenjie.andserver.framework.config.Multipart
-
- getMaxSize() - Method in exception com.yanzhenjie.andserver.error.MaxUploadSizeExceededException
-
Return the maximum upload size allowed.
- getMediaType() - Method in exception com.yanzhenjie.andserver.error.InvalidMediaTypeException
-
Return the offending media type.
- getMethod() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getMethod() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns
HttpMethod with which this request was made.
- getMethod() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getMethod() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getMethods() - Method in exception com.yanzhenjie.andserver.error.MethodNotSupportException
-
- getMethods() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- getMimeType() - Method in exception com.yanzhenjie.andserver.error.InvalidMimeTypeException
-
Return the offending content type.
- getMultiFileMap() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Return a
MultiValueMap of the multipart files contained in this request.
- getMultiFileMap() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getMultipart() - Method in class com.yanzhenjie.andserver.framework.config.Delegate
-
- getMultipartContentType(String) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartRequest
-
Determine the content type of the specified request part.
- getMultipartContentType(String) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getMultipartContentTypes() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver.MultipartParsingResult
-
- getMultipartFiles() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver.MultipartParsingResult
-
- getMultipartParameters() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver.MultipartParsingResult
-
- getName() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Returns the name of the cookie.
- getName() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return the name of the parameter in the multipart form.
- getName() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getOrDefault(Object, V) - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- getOrigins() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- getParam() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getParameter(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the value of a request parameter as a String, or null if the parameter does not exist.
- getParameter() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
- getParameter(String) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getParameter() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getParameter(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getParameter() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getParameter(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getParameter() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getParameter(String) - Method in class com.yanzhenjie.andserver.util.MimeType
-
Return a generic parameter value, given a parameter name.
- getParameterNames() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an List of String containing the names of the parameters contained in this request.
- getParameterNames() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getParameterNames() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getParameterNames() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getParameters(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an array of String objects containing all of the values the given request parameter has, or
null if the parameter does not exist.
- getParameters(String) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- getParameters(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getParameters(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getParameters() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Return all generic parameter values.
- getParams() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getPath() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getPath() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Returns the path on the server to which the browser returns this cookie.
- getPath() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Get the path to this request.
- getPath() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getPath() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getPath() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getPaths() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getPathVariable(String) - Method in class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
Get the path to match the request.
- getPort() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getPort() - Method in class com.yanzhenjie.andserver.server.BasicServer
-
- getPort() - Method in interface com.yanzhenjie.andserver.Server
-
Returns the port number on which this socket is listening.
- getProduce() - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- getQuality() - Method in class com.yanzhenjie.andserver.http.AcceptLanguage
-
- getQualityValue() - Method in class com.yanzhenjie.andserver.util.MediaType
-
Return the quality value, as indicated by a q parameter, if any.
- getQueries(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an List of String objects containing all of the values the given query parameter name, or
empty List if the query parameter does not exist.
- getQueries(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getQueries(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getQuery(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the value of a request parameter as a String object, or null if the parameter does not
exist.
- getQuery() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
- getQuery(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getQuery() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getQuery(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getQuery() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getQuery() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getQueryNames() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns an List of String objects containing the names of the query parameters contained in url
of this request, or empty List if there are no query parameters.
- getQueryNames() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getQueryNames() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getRemoteAddr() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
- getRemoteAddr() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getRemoteAddr() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getRemoteHost() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the fully qualified name of the client or the last proxy that sent the request.
- getRemoteHost() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getRemoteHost() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getRemotePort() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
- getRemotePort() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getRemotePort() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getRequest() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
Get the original request object.
- getRequestDispatcher(HttpRequest, String) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- getRequestDispatcher(String) - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns a
RequestDispatcher object that acts as a wrapper for the resource located at the given path.
- getRequestDispatcher(String) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getRequestDispatcher(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getResponse() - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
Get the original response object.
- getRuleList() - Method in class com.yanzhenjie.andserver.framework.mapping.Method
-
- getRuleList() - Method in class com.yanzhenjie.andserver.framework.mapping.Mime
-
- getRuleList() - Method in class com.yanzhenjie.andserver.framework.mapping.Pair
-
- getRuleList() - Method in class com.yanzhenjie.andserver.framework.mapping.Path
-
- getScheme() - Method in class com.yanzhenjie.andserver.http.Uri
-
- getSecure() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Returns true if the browser is sending cookies only over a secure protocol, or false if the
browser can send cookies using any protocol.
- getSegments() - Method in class com.yanzhenjie.andserver.framework.mapping.Path.Rule
-
- getSession() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the current session associated with this request, or if the request does not have a session, creates one.
- getSession() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getSession(String) - Method in class com.yanzhenjie.andserver.http.session.StandardStore
-
- getSession() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getShortType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getSize() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return the size of the file in bytes.
- getSize() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getStatus() - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Gets the current status code of this response.
- getStatus() - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- getStatus() - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- getStatusCode() - Method in exception com.yanzhenjie.andserver.error.HttpException
-
- getStream() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return an InputStream to read the contents of the file from.
- getStream() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- getStringType() - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- getSubtype() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Return the subtype.
- getType() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Return the primary type.
- getType() - Method in class com.yanzhenjie.andserver.util.TypeWrapper
-
- getUploadTempDir() - Method in class com.yanzhenjie.andserver.framework.config.Multipart
-
- getURI() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the part of this request's URL from the protocol name up to the query string in the first line of the
HTTP request.
- getURI() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getURI() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getUrlExtension(String) - Static method in class com.yanzhenjie.andserver.util.MediaType
-
Get he extension by url.
- getValidSession() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Returns the current Session associated with this request or, if there is no current session returns a new
session.
- getValidSession() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- getValidSession() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- getValue() - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- getValue() - Method in class com.yanzhenjie.andserver.framework.mapping.Path.Segment
-
- getValue() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Gets the current value of this Cookie.
- getVersion() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Returns the version of the protocol this cookie complies with.
- getWebsites() - Method in class com.yanzhenjie.andserver.framework.config.Delegate
-
- identityToString(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of an object's overall identity.
- IdGenerator - Interface in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/26.
- IF - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.4
- IF_MATCH - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.24
- IF_MODIFIED_SINCE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.9, RFC 2616 (HTTP/1.1) Section 14.25
- IF_NONE_MATCH - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.26
- IF_RANGE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.27
- IF_UNMODIFIED_SINCE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.28
- IMAGE_GIF - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for image/gif.
- IMAGE_GIF_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- IMAGE_JPEG - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for image/jpeg.
- IMAGE_JPEG_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- IMAGE_PNG - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for image/png.
- IMAGE_PNG_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- includes(MediaType) - Method in class com.yanzhenjie.andserver.util.MediaType
-
Indicate whether this MediaType includes the given media type.
- includes(MimeType) - Method in class com.yanzhenjie.andserver.util.MimeType
-
Indicate whether this MediaType includes the given media type.
- inetAddress(InetAddress) - Method in class com.yanzhenjie.andserver.server.BasicServer.Builder
-
- inetAddress(InetAddress) - Method in interface com.yanzhenjie.andserver.Server.Builder
-
Specified server need to monitor the ip address.
- inetAddress(InetAddress) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
Specified server need to monitor the ip address.
- INFO - Static variable in class com.yanzhenjie.andserver.AndServer
-
- intercept(HttpRequest) - Method in interface com.yanzhenjie.andserver.framework.handler.HandlerAdapter
-
Whether to intercept the current request.
- intercept(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.handler.MappingAdapter
-
- intercept(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite
-
- intercept(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.FileBrowser
-
- intercept(HttpRequest) - Method in class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
- INVALID_CORS_REQUEST - Static variable in class com.yanzhenjie.andserver.framework.handler.OptionsHandler
-
- invalidate() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Invalidates this session then unbinds any objects bound to it.
- invalidate() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- InvalidMediaTypeException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/7/10.
- InvalidMediaTypeException(String, String) - Constructor for exception com.yanzhenjie.andserver.error.InvalidMediaTypeException
-
Create a new InvalidMediaTypeException for the given media type.
- InvalidMediaTypeException(InvalidMimeTypeException) - Constructor for exception com.yanzhenjie.andserver.error.InvalidMediaTypeException
-
- InvalidMimeTypeException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/7/10.
- InvalidMimeTypeException(String, String) - Constructor for exception com.yanzhenjie.andserver.error.InvalidMimeTypeException
-
Create a new InvalidContentTypeException for the given content type.
- InvertibleComparator<T> - Class in com.yanzhenjie.andserver.util.comparator
-
Created by Zhenjie Yan on 2018/7/11.
- InvertibleComparator(Comparator<T>) - Constructor for class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
Create an InvertibleComparator that sorts ascending by default.
- InvertibleComparator(Comparator<T>, boolean) - Constructor for class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
Create an InvertibleComparator that sorts based on the provided order.
- invertOrder() - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Invert the sort order of each sort definition contained by this compound comparator.
- invertOrder(int) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Invert the sort order of the sort definition at the specified index.
- invertOrder() - Method in class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
Invert the sort order: ascending -> descending or descending -> ascending.
- IOUtils - Class in com.yanzhenjie.andserver.util
-
Created in 2016/4/12 21:21.
- IOUtils() - Constructor for class com.yanzhenjie.andserver.util.IOUtils
-
- isAllowCredentials() - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- isArray(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Determine whether the given object is an array: either an Object array or a primitive array.
- isAscending() - Method in class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
Return the sort order: ascending (true) or descending (false).
- isAssignable(Class<?>, Class<?>, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that superType.isAssignableFrom(subType) is true.
- isAssignable(Class<?>, Class<?>) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that superType.isAssignableFrom(subType) is true.
- isAvailable() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
Determine whether the multipart content is still available.
- isBlurred() - Method in class com.yanzhenjie.andserver.framework.mapping.Path.Segment
-
- isCheckedException(Throwable) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
- isChunked() - Method in class com.yanzhenjie.andserver.framework.body.FileBody
-
- isChunked() - Method in class com.yanzhenjie.andserver.framework.body.StreamBody
-
- isChunked() - Method in class com.yanzhenjie.andserver.framework.body.StringBody
-
- isChunked() - Method in interface com.yanzhenjie.andserver.http.ResponseBody
-
Tells about chunked encoding for this entity.
- isCompatibleWith(MediaType) - Method in class com.yanzhenjie.andserver.util.MediaType
-
Indicate whether this MediaType is compatible with the given media type.
- isCompatibleWith(MimeType) - Method in class com.yanzhenjie.andserver.util.MimeType
-
Indicate whether this MediaType is compatible with the given media type.
- isCompatibleWithThrowsClause(Throwable, Class<?>...) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Check whether the given exception is compatible with the specified exception types, as declared in a throws
clause.
- isConcrete() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Indicates whether this media type is concrete, i.e.
- isEmpty() - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Return whether the uploaded file is empty.
- isEmpty() - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- isEmpty(Collection<?>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Return true if the supplied Collection is null or empty.
- isEmpty(Map<?, ?>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Return true if the supplied Map is null or empty.
- isEmpty() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- isEmpty() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- isEmpty(Object[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Determine whether the given array is empty: i.e.
- isEmpty(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Determine whether the given object is empty.
- isEmpty(Object) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Check whether the given String is empty.
- isFile(String) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite.AssetsReader
-
Specify whether the destination is a file.
- isHttpOnly() - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Checks whether this Cookie has been marked as HttpOnly.
- isInstanceOf(Class<?>, Object, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class<?>, Object) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isMultipart(HttpRequest) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Determine if the given request contains multipart content, will typically check for content type
"multipart/form-data".
- isMultipart(HttpRequest) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- isNew() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Returns true if the client does not yet know about the session or if the client chooses not to join the
session.
- isNew() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- isNoKey() - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- isNoValue() - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- isNull(Object, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that an object is null.
- isRepeatable() - Method in class com.yanzhenjie.andserver.framework.body.FileBody
-
- isRepeatable() - Method in class com.yanzhenjie.andserver.framework.body.StreamBody
-
- isRepeatable() - Method in class com.yanzhenjie.andserver.framework.body.StringBody
-
- isRepeatable() - Method in interface com.yanzhenjie.andserver.http.ResponseBody
-
Can it be reused?
- isRunning - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- isRunning() - Method in class com.yanzhenjie.andserver.server.BasicServer
-
- isRunning() - Method in interface com.yanzhenjie.andserver.Server
-
Server running status.
- isSessionValid() - Method in interface com.yanzhenjie.andserver.http.HttpRequest
-
Checks whether the requested session ID is still valid.
- isSessionValid() - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- isSessionValid() - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- isTrue(boolean, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
- isValid() - Method in interface com.yanzhenjie.andserver.http.session.Session
-
- isValid() - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- isWildcardSubtype() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Indicates whether the
subtype is the wildcard character
* or the
wildcard character followed by a suffix (e.g.
- isWildcardType() - Method in class com.yanzhenjie.andserver.util.MimeType
-
Indicates whether the
type is the wildcard character
* or not.
- Mapping - Class in com.yanzhenjie.andserver.framework.mapping
-
Save the request mapping configuration.
- Mapping() - Constructor for class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- MappingAdapter - Class in com.yanzhenjie.andserver.framework.handler
-
Created by Zhenjie Yan on 2018/9/8.
- MappingAdapter() - Constructor for class com.yanzhenjie.andserver.framework.handler.MappingAdapter
-
- MappingHandler - Class in com.yanzhenjie.andserver.framework.handler
-
Created by Zhenjie Yan on 2018/9/9.
- MappingHandler(Object, Mapping, Addition, CrossOrigin) - Constructor for class com.yanzhenjie.andserver.framework.handler.MappingHandler
-
- matches(String, String) - Static method in class com.yanzhenjie.andserver.framework.mapping.Path
-
- MAX_FORWARDS - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.31
- maxInMemorySize(int) - Method in class com.yanzhenjie.andserver.framework.config.Multipart.Builder
-
Set the maximum allowed size (in bytes) before uploads are written to disk, default is 10240.
- MaxUploadSizeExceededException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/8/9.
- MaxUploadSizeExceededException(long) - Constructor for exception com.yanzhenjie.andserver.error.MaxUploadSizeExceededException
-
Constructor for MaxUploadSizeExceededException.
- MaxUploadSizeExceededException(long, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.MaxUploadSizeExceededException
-
Constructor for MaxUploadSizeExceededException.
- md5Digest(String) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Calculate the MD5 digest of string.
- md5Digest(byte[]) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Calculate the MD5 digest of the given bytes.
- md5Digest(InputStream) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Calculate the MD5 digest of the given stream.
- md5DigestAsHex(String) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of string.
- md5DigestAsHex(byte[]) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of the given bytes.
- md5DigestAsHex(InputStream) - Static method in class com.yanzhenjie.andserver.util.DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of the given stream.
- MediaType - Class in com.yanzhenjie.andserver.util
-
Created by Zhenjie Yan on 2018/6/27.
- MediaType(String) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Create a new MediaType for the given primary type.
- MediaType(String, String) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Create a new MediaType for the given primary type and subtype.
- MediaType(String, String, Charset) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Create a new MediaType for the given type, subtype, and character set.
- MediaType(String, String, double) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Create a new MediaType for the given type, subtype, and quality value.
- MediaType(MediaType, Charset) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Copy-constructor that copies the type, subtype and parameters of the given MediaType, and allows to set
the specified character set.
- MediaType(MediaType, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Copy-constructor that copies the type and subtype of the given MediaType, and allows for different
parameter.
- MediaType(String, String, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.util.MediaType
-
Create a new MediaType for the given type, subtype, and parameters.
- mergeArrayIntoCollection(Object, Collection<E>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Merge the given array into the given Collection.
- mergePropertiesIntoMap(Properties, Map<K, V>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
- mergeStringArrays(String[], String[]) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Merge the given String arrays into one, with overlapping array elements only included once.
- MessageConverter - Interface in com.yanzhenjie.andserver.framework
-
Created by Zhenjie Yan on 2018/9/6.
- Method - Class in com.yanzhenjie.andserver.framework.mapping
-
Created by Zhenjie Yan on 2018/6/14.
- Method() - Constructor for class com.yanzhenjie.andserver.framework.mapping.Method
-
- MethodHandler - Interface in com.yanzhenjie.andserver.framework.handler
-
Created by Zhenjie Yan on 2018/6/16.
- MethodNotSupportException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/7/19.
- MethodNotSupportException(HttpMethod) - Constructor for exception com.yanzhenjie.andserver.error.MethodNotSupportException
-
- MethodNotSupportException(HttpMethod, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.MethodNotSupportException
-
- Mime - Class in com.yanzhenjie.andserver.framework.mapping
-
Created by Zhenjie Yan on 2018/6/14.
- Mime() - Constructor for class com.yanzhenjie.andserver.framework.mapping.Mime
-
- Mime.Rule - Class in com.yanzhenjie.andserver.framework.mapping
-
- MimeType - Class in com.yanzhenjie.andserver.util
-
Created by Zhenjie Yan on 2018/6/27.
- MimeType(String) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Create a new Mime for the given primary type.
- MimeType(String, String) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Create a new Mime for the given primary type and subtype.
- MimeType(String, String, Charset) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Create a new Mime for the given type, subtype, and character set.
- MimeType(MimeType, Charset) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Copy-constructor that copies the type, subtype, parameters of the given Mime, and allows to set the
specified character set.
- MimeType(MimeType, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Copy-constructor that copies the type and subtype of the given Mime, and allows for different parameter.
- MimeType(String, String, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.util.MimeType
-
Create a new Mime for the given type, subtype, and parameters.
- MimeType.SpecificityComparator<T extends MimeType> - Class in com.yanzhenjie.andserver.util
-
- mInetAddress - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- mListener - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- Modified - Class in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/8/29.
- Modified(HttpRequest, HttpResponse) - Constructor for class com.yanzhenjie.andserver.http.Modified
-
- ModifiedInterceptor - Class in com.yanzhenjie.andserver.framework
-
Created by Zhenjie Yan on 2018/9/14.
- ModifiedInterceptor() - Constructor for class com.yanzhenjie.andserver.framework.ModifiedInterceptor
-
- mPort - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- mSocketFactory - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- mSSLContext - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- mSSLSocketInitializer - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- mTimeout - Variable in class com.yanzhenjie.andserver.server.BasicServer
-
- Multipart - Class in com.yanzhenjie.andserver.framework.config
-
Created by Zhenjie Yan on 2019-06-28.
- Multipart.Builder - Class in com.yanzhenjie.andserver.framework.config
-
- MULTIPART_FORM_DATA - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for multipart/form-data.
- MULTIPART_FORM_DATA_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- MultipartException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/8/9.
- MultipartException(String) - Constructor for exception com.yanzhenjie.andserver.error.MultipartException
-
Constructor for MultipartException.
- MultipartException(String, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.MultipartException
-
Constructor for MultipartException.
- MultipartFile - Interface in com.yanzhenjie.andserver.http.multipart
-
Created by Zhenjie Yan on 2018/6/18.
- MultipartParsingResult(MultiValueMap<String, MultipartFile>, MultiValueMap<String, String>, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver.MultipartParsingResult
-
- MultipartRequest - Interface in com.yanzhenjie.andserver.http.multipart
-
This interface defines the multipart request access operations that are exposed for actual multipart requests.
- MultipartResolver - Interface in com.yanzhenjie.andserver.http.multipart
-
Created by Zhenjie Yan on 2018/8/8.
- MultiValueMap<K,V> - Interface in com.yanzhenjie.andserver.util
-
Created by Zhenjie Yan on 2018/6/21.
- newBuilder() - Static method in class com.yanzhenjie.andserver.framework.config.Multipart
-
- newBuilder(String) - Static method in class com.yanzhenjie.andserver.http.Uri
-
- newBuilder() - Static method in class com.yanzhenjie.andserver.server.ProxyServer
-
- newBuilder(Context, String) - Static method in class com.yanzhenjie.andserver.server.WebServer
-
- newInstance() - Static method in class com.yanzhenjie.andserver.framework.config.Delegate
-
- noNullElements(Object[], String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that an array contains no null elements.
- notEmpty(Object[], String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that an array contains elements; that is, it must not be null and must contain at least one
element.
- notEmpty(Collection<?>, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that a collection contains elements; that is, it must not be null and must contain at least one
element.
- notEmpty(Map<?, ?>, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
- NotFoundException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/7/19.
- NotFoundException() - Constructor for exception com.yanzhenjie.andserver.error.NotFoundException
-
- NotFoundException(String) - Constructor for exception com.yanzhenjie.andserver.error.NotFoundException
-
- NotFoundException(String, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.NotFoundException
-
- NotFoundException(Throwable) - Constructor for exception com.yanzhenjie.andserver.error.NotFoundException
-
- notNull(Object, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert that an object is not null.
- nullSafeClassName(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Determine the class name for the given object.
- nullSafeEquals(Object, Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Determine if the given objects are equal, returning true if both are null or false if
only one is null.
- nullSafeHashCode(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return as hash code for the given object; typically the value of Object#hashCode()}.
- nullSafeHashCode(Object[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(boolean[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(byte[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(char[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(double[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(float[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(int[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(long[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(short[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a hash code based on the contents of the specified array.
- nullSafeToString(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the specified Object.
- nullSafeToString(Object[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(boolean[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(byte[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(char[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(double[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(float[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(int[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(long[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- nullSafeToString(short[]) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Return a String representation of the contents of the specified array.
- SC_ACCEPTED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (202) indicating that a request was accepted for processing, but was not completed.
- SC_BAD_GATEWAY - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when
acting as a proxy or gateway.
- SC_BAD_REQUEST - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (400) indicating the request sent by the client was syntactically incorrect.
- SC_CONFLICT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (409) indicating that the request could not be completed due to a conflict with the current state of
the resource.
- SC_CONTINUE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (100) indicating the client can continue.
- SC_CREATED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (201) indicating the request succeeded and created a new resource on the server.
- SC_EXPECTATION_FAILED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (417) indicating that the server could not meet the expectation given in the Expect request header.
- SC_FORBIDDEN - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (403) indicating the server understood the request but refused to fulfill it.
- SC_FOUND - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (302) indicating that the resource reside temporarily under a different URI.
- SC_GATEWAY_TIMEOUT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (504) indicating that the server did not receive a timely response from the upstream server while
acting as a gateway or proxy.
- SC_GONE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (410) indicating that the resource is no longer available at the server and no forwarding address is
known.
- SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (505) indicating that the server does not support or refuses to support the HTTP protocol version
that was used in the request message.
- SC_INTERNAL_SERVER_ERROR - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (500) indicating an error inside the HTTP server which prevented it from fulfilling the request.
- SC_LENGTH_REQUIRED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (411) indicating that the request cannot be handled without a defined
Content-Length.
- SC_METHOD_NOT_ALLOWED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (405) indicating that the method specified in the Request-Line is not allowed
for the resource identified by the Request-URI.
- SC_MOVED_PERMANENTLY - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (301) indicating that the resource has permanently moved to a new location, and that future
references should use a new URI with their requests.
- SC_MULTIPLE_CHOICES - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (300) indicating that the requested resource corresponds to any one of a set of representations, each
with its own specific location.
- SC_NO_CONTENT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (204) indicating that the request succeeded but that there was no new information to return.
- SC_NON_AUTHORITATIVE_INFORMATION - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (203) indicating that the meta information presented by the client did not originate from the
server.
- SC_NOT_ACCEPTABLE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (406) indicating that the resource identified by the request is only capable of generating response
entities which have content characteristics not acceptable according to the accept headers sent in the request.
- SC_NOT_FOUND - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (404) indicating that the requested resource is not available.
- SC_NOT_IMPLEMENTED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (501) indicating the HTTP server does not support the functionality needed to fulfill the request.
- SC_NOT_MODIFIED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (304) indicating that a conditional GET operation found that the resource was available and not
modified.
- SC_OK - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (200) indicating the request succeeded normally.
- SC_PARTIAL_CONTENT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (206) indicating that the server has fulfilled the partial GET request for the resource.
- SC_PAYMENT_REQUIRED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (402) reserved for future use.
- SC_PRECONDITION_FAILED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (412) indicating that the precondition given in one or more of the request-header fields evaluated to
false when it was tested on the server.
- SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (407) indicating that the client MUST first authenticate itself with the proxy.
- SC_REQUEST_ENTITY_TOO_LARGE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (413) indicating that the server is refusing to process the request because the request entity is
larger than the server is willing or able to process.
- SC_REQUEST_TIMEOUT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (408) indicating that the client did not produce a request within the time that the server was
prepared to wait.
- SC_REQUEST_URI_TOO_LONG - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (414) indicating that the server is refusing to service the request because the
Request-URI is longer than the server is willing to interpret.
- SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (416) indicating that the server cannot serve the requested byte range.
- SC_RESET_CONTENT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (205) indicating that the agent SHOULD reset the document view which caused the request to
be sent.
- SC_SEE_OTHER - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (303) indicating that the response to the request can be found under a different URI.
- SC_SERVICE_UNAVAILABLE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (503) indicating that the HTTP server is temporarily overloaded, and unable to handle the request.
- SC_SWITCHING_PROTOCOLS - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (101) indicating the server is switching protocols according to Upgrade header.
- SC_TEMPORARY_REDIRECT - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (307) indicating that the requested resource resides temporarily under a different URI.
- SC_UNAUTHORIZED - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (401) indicating that the request requires HTTP authentication.
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (415) indicating that the server is refusing to service the request because the entity of the request
is in a format not supported by the requested resource for the requested method.
- SC_USE_PROXY - Static variable in interface com.yanzhenjie.andserver.http.StatusCode
-
Status code (305) indicating that the requested resource MUST be accessed through the proxy given by
the
Location field.
- scanFile(String) - Method in class com.yanzhenjie.andserver.framework.website.AssetsWebsite.AssetsReader
-
Scan all files in the inPath.
- Segment(String, boolean) - Constructor for class com.yanzhenjie.andserver.framework.mapping.Path.Segment
-
- sendRedirect(String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Sends a temporary redirect response to the client using the specified redirect location URL and clears the buffer.
- sendRedirect(String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- sendRedirect(String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- SERVER - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.14, RFC 2616 (HTTP/1.1) Section 14.38
- Server - Interface in com.yanzhenjie.andserver
-
Created by Zhenjie Yan on 2018/9/10.
- Server.Builder<T extends Server.Builder,S extends Server> - Interface in com.yanzhenjie.andserver
-
- Server.ProxyBuilder<T extends Server.ProxyBuilder,S extends Server> - Interface in com.yanzhenjie.andserver
-
- Server.ServerListener - Interface in com.yanzhenjie.andserver
-
- serverBuilder(Context) - Static method in class com.yanzhenjie.andserver.AndServer
-
- serverBuilder(Context, String) - Static method in class com.yanzhenjie.andserver.AndServer
-
- ServerInternalException - Exception in com.yanzhenjie.andserver.error
-
Created by Zhenjie Yan on 2018/9/4.
- ServerInternalException(String) - Constructor for exception com.yanzhenjie.andserver.error.ServerInternalException
-
- ServerInternalException(String, Throwable) - Constructor for exception com.yanzhenjie.andserver.error.ServerInternalException
-
- ServerInternalException(Throwable) - Constructor for exception com.yanzhenjie.andserver.error.ServerInternalException
-
- serverSocketFactory(ServerSocketFactory) - Method in class com.yanzhenjie.andserver.server.BasicServer.Builder
-
- serverSocketFactory(ServerSocketFactory) - Method in interface com.yanzhenjie.andserver.Server.Builder
-
Assigns ServerSocketFactory instance.
- serverSocketFactory(ServerSocketFactory) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
Assigns ServerSocketFactory instance.
- Session - Interface in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/13.
- SESSION_NAME - Static variable in interface com.yanzhenjie.andserver.http.HttpRequest
-
- SessionManager - Interface in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/26.
- set(K, V) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- set(K, V) - Method in interface com.yanzhenjie.andserver.util.MultiValueMap
-
Set the given single value under the given key.
- SET_COOKIE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 6265 (HTTP/1.0) Section 4.1, RFC 2109 (Http/1.1) Section 4.2.2
- setAll(Map<K, V>) - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- setAll(Map<K, V>) - Method in interface com.yanzhenjie.andserver.util.MultiValueMap
-
Set the given values under.
- setAllFileMaxSize(long) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Set the maximum size (in bytes) allowed for uploading.
- setAllFileMaxSize(long) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- setAllowCredentials(boolean) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setAllowedHeaders(String[]) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setAscending(boolean) - Method in class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
Specify the sort order: ascending (true) or descending (false).
- setAscendingOrder(int) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Change the sort order at the given index to ascending.
- setAttribute(String, Object) - Method in interface com.yanzhenjie.andserver.http.HttpContext
-
Sets value of the attribute with the given name.
- setAttribute(String, Object) - Method in class com.yanzhenjie.andserver.http.RequestWrapper
-
- setAttribute(String, Object) - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Binds an object to this session, using the name specified.
- setAttribute(String, Object) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setAttribute(String, Object) - Method in class com.yanzhenjie.andserver.http.StandardContext
-
- setAttribute(String, Object) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- setBody(ResponseBody) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Set the response body.
- setBody(ResponseBody) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- setBody(ResponseBody) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- setBooleanType(boolean[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setByteType(byte[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setCharType(char[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setComment(String) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Specifies a comment that describes a cookie's purpose.
- setComparator(int, Comparator<? extends T>) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Replace the Comparator at the given index.
- setComparator(int, Comparator<T>, boolean) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Replace the Comparator at the given index using the given sort order.
- setConsume(Mime) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setConverter(MessageConverter) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- setConverter(MessageConverter) - Method in interface com.yanzhenjie.andserver.register.Register
-
Set up a message converter to convert messages that are not recognized by AndServer.
- setCreatedTime(long) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setDateHeader(String, long) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Sets a response header with the given name and date-value.
- setDateHeader(String, long) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- setDateHeader(String, long) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- setDescendingOrder(int) - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
Change the sort order at the given index to descending sort.
- setDomain(String) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Specifies the domain within which this cookie should be presented.
- setDoubleType(double[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setExposedHeaders(String[]) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setFileMaxSize(long) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Set the maximum size (in bytes) allowed for each individual file.
- setFileMaxSize(long) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- setFloatType(float[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setFragment(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setHeader(Pair) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setHeader(String, String) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Sets a response header with the given name and value.
- setHeader(String, String) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- setHeader(String, String) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- setHost(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setHttpOnly(boolean) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Marks or unmarks this Cookie as HttpOnly.
- setId(String) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setIntHeader(String, int) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Sets a response header with the given name and integer value.
- setIntHeader(String, int) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- setIntHeader(String, int) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- setIntType(int[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setKey(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- setLastAccessedTime(long) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setLongType(long[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setMaxAge(long) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setMaxAge(int) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Sets the maximum age in seconds for this Cookie.
- setMaxInactiveInterval(int) - Method in interface com.yanzhenjie.andserver.http.session.Session
-
Specifies the time, in seconds, between client requests before the server will invalidate this session.
- setMaxInactiveInterval(int) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setMaxInMemorySize(int) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Set the maximum allowed size (in bytes) before uploads are written to disk, default is 10240.
- setMaxInMemorySize(int) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- setMethod(Method) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setMethods(List<HttpMethod>) - Method in exception com.yanzhenjie.andserver.error.MethodNotSupportException
-
- setMethods(HttpMethod[]) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setMultipart(Multipart) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- setMultipart(Multipart) - Method in class com.yanzhenjie.andserver.framework.config.Delegate
-
- setMultipart(Multipart) - Method in interface com.yanzhenjie.andserver.framework.config.WebConfig.Delegate
-
- setMultipart(Multipart) - Method in interface com.yanzhenjie.andserver.register.Register
-
Set the parameters used to resolve the multipart request.
- setNew(boolean) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setNoKey(boolean) - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- setNoValue(boolean) - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- setOrigins(String[]) - Method in class com.yanzhenjie.andserver.framework.cross.CrossOrigin
-
- setParam(Pair) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setPath(Path) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setPath(String) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Specifies a path for the cookie to which the client should return the cookie.
- setPath(String) - Method in class com.yanzhenjie.andserver.http.StandardRequest
-
- setPath(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setPort(int) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setProduce(Mime) - Method in class com.yanzhenjie.andserver.framework.mapping.Mapping
-
- setQuery(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setQuery(MultiValueMap<String, String>) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setResolver(ExceptionResolver) - Method in class com.yanzhenjie.andserver.DispatcherHandler
-
- setResolver(ExceptionResolver) - Method in interface com.yanzhenjie.andserver.register.Register
-
Set the exception handler.
- setScheme(String) - Method in class com.yanzhenjie.andserver.http.Uri.Builder
-
- setSecure(boolean) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Indicates to the browser whether the cookie should only be sent using a secure protocol, e.g.
- setSegments(List<Path.Segment>) - Method in class com.yanzhenjie.andserver.framework.mapping.Path.Rule
-
- setShortType(short[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setStatus(int) - Method in interface com.yanzhenjie.andserver.http.HttpResponse
-
Sets the status code for this response.
- setStatus(int) - Method in class com.yanzhenjie.andserver.http.ResponseWrapper
-
- setStatus(int) - Method in class com.yanzhenjie.andserver.http.StandardResponse
-
- setStringType(String[]) - Method in class com.yanzhenjie.andserver.framework.mapping.Addition
-
- setUploadTempDir(File) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartResolver
-
Set the temporary directory where uploaded files get stored.
- setUploadTempDir(File) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- setValid(boolean) - Method in class com.yanzhenjie.andserver.http.session.StandardSession
-
- setValue(String) - Method in class com.yanzhenjie.andserver.framework.mapping.Pair.Rule
-
- setValue(String) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Assigns a new value to this Cookie.
- setVersion(int) - Method in class com.yanzhenjie.andserver.http.cookie.Cookie
-
Sets the version of the cookie protocol that this Cookie complies with.
- shutdown() - Method in class com.yanzhenjie.andserver.server.BasicServer
-
Quit the server.
- shutdown() - Method in class com.yanzhenjie.andserver.server.ProxyServer
-
- shutdown() - Method in interface com.yanzhenjie.andserver.Server
-
Quit the server.
- size() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- size() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- sortByQualityValue(List<MediaType>) - Static method in class com.yanzhenjie.andserver.util.MediaType
-
Sorts the given list of MediaType objects by quality value.
- sortBySpecificity(List<MediaType>) - Static method in class com.yanzhenjie.andserver.util.MediaType
-
Sorts the given list of MediaType objects by specificity.
- sortBySpecificityAndQuality(List<MediaType>) - Static method in class com.yanzhenjie.andserver.util.MediaType
-
Sorts the given list of MediaType objects by specificity as the primary criteria and quality value the
secondary.
- sortStringArray(String[]) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Turn given source String array into sorted array.
- SPECIFICITY_COMPARATOR - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- SpecificityComparator() - Constructor for class com.yanzhenjie.andserver.util.MimeType.SpecificityComparator
-
- split(String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Split a String at the first occurrence of the delimiter.
- splitArrayElementsIntoProperties(String[], String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Take an array of strings and split each element based on the given delimiter.
- splitArrayElementsIntoProperties(String[], String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Take an array of strings and split each element based on the given delimiter.
- sslContext(SSLContext) - Method in class com.yanzhenjie.andserver.server.BasicServer.Builder
-
- sslContext(SSLContext) - Method in interface com.yanzhenjie.andserver.Server.Builder
-
Assigns SSLContext instance.
- sslContext(SSLContext) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
Assigns SSLContext instance.
- sslSocketInitializer(SSLSocketInitializer) - Method in class com.yanzhenjie.andserver.server.BasicServer.Builder
-
- sslSocketInitializer(SSLSocketInitializer) - Method in interface com.yanzhenjie.andserver.Server.Builder
-
- sslSocketInitializer(SSLSocketInitializer) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
- SSLSocketInitializer - Interface in com.yanzhenjie.andserver
-
Created by Zhenjie Yan on 2018/9/10.
- StandardContext - Class in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/8/31.
- StandardContext(org.apache.httpcore.protocol.HttpContext) - Constructor for class com.yanzhenjie.andserver.http.StandardContext
-
- StandardCookieProcessor - Class in com.yanzhenjie.andserver.http.cookie
-
Created by Zhenjie Yan on 2018/7/27.
- StandardCookieProcessor() - Constructor for class com.yanzhenjie.andserver.http.cookie.StandardCookieProcessor
-
- StandardIdGenerator - Class in com.yanzhenjie.andserver.http.session
-
- StandardIdGenerator() - Constructor for class com.yanzhenjie.andserver.http.session.StandardIdGenerator
-
- StandardMultipartFile - Class in com.yanzhenjie.andserver.http.multipart
-
Created by Zhenjie Yan on 2018/6/21.
- StandardMultipartFile(FileItem) - Constructor for class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
Create an instance wrapping the given FileItem.
- StandardMultipartRequest - Class in com.yanzhenjie.andserver.http.multipart
-
Created by Zhenjie Yan on 2018/8/9.
- StandardMultipartRequest(HttpRequest, MultiValueMap<String, MultipartFile>, MultiValueMap<String, String>, Map<String, String>) - Constructor for class com.yanzhenjie.andserver.http.multipart.StandardMultipartRequest
-
- StandardMultipartResolver - Class in com.yanzhenjie.andserver.http.multipart
-
Created by Zhenjie Yan on 2018/8/9.
- StandardMultipartResolver() - Constructor for class com.yanzhenjie.andserver.http.multipart.StandardMultipartResolver
-
- StandardMultipartResolver.MultipartParsingResult - Class in com.yanzhenjie.andserver.http.multipart
-
Holder for a Map of MultipartFiles and a Map of multipart parameters.
- StandardRequest - Class in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/6/12.
- StandardRequest(org.apache.httpcore.HttpRequest, HttpContext, DispatcherHandler, SessionManager) - Constructor for class com.yanzhenjie.andserver.http.StandardRequest
-
- StandardResponse - Class in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/6/12.
- StandardResponse(org.apache.httpcore.HttpResponse) - Constructor for class com.yanzhenjie.andserver.http.StandardResponse
-
- StandardSession - Class in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/26.
- StandardSession() - Constructor for class com.yanzhenjie.andserver.http.session.StandardSession
-
- StandardSessionManager - Class in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/26.
- StandardSessionManager(Context) - Constructor for class com.yanzhenjie.andserver.http.session.StandardSessionManager
-
- StandardStore - Class in com.yanzhenjie.andserver.http.session
-
Created by Zhenjie Yan on 2018/7/26.
- StandardStore(File) - Constructor for class com.yanzhenjie.andserver.http.session.StandardStore
-
- startsWithIgnoreCase(String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Test if the given String starts with the specified prefix, ignoring upper/lower case.
- startup() - Method in class com.yanzhenjie.andserver.server.BasicServer
-
- startup() - Method in class com.yanzhenjie.andserver.server.ProxyServer
-
- startup() - Method in interface com.yanzhenjie.andserver.Server
-
Start the server.
- state(boolean, String) - Static method in class com.yanzhenjie.andserver.util.Assert
-
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
- STATUS_URI - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.7
- StatusCode - Interface in com.yanzhenjie.andserver.http
-
Created by Zhenjie Yan on 2018/7/26.
- StatusCode - Interface in com.yanzhenjie.andserver.util
-
- StorageWebsite - Class in com.yanzhenjie.andserver.framework.website
-
Created by Zhenjie Yan on 2018/9/7.
- StorageWebsite(String) - Constructor for class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
Create a website object.
- StorageWebsite(String, String) - Constructor for class com.yanzhenjie.andserver.framework.website.StorageWebsite
-
Create a website object.
- stream() - Method in interface com.yanzhenjie.andserver.http.RequestBody
-
Returns a content stream of this body.
- StreamBody - Class in com.yanzhenjie.andserver.framework.body
-
Created by Zhenjie Yan on 2018/9/7.
- StreamBody(InputStream) - Constructor for class com.yanzhenjie.andserver.framework.body.StreamBody
-
- StreamBody(InputStream, long) - Constructor for class com.yanzhenjie.andserver.framework.body.StreamBody
-
- StreamBody(InputStream, MediaType) - Constructor for class com.yanzhenjie.andserver.framework.body.StreamBody
-
- StreamBody(InputStream, long, MediaType) - Constructor for class com.yanzhenjie.andserver.framework.body.StreamBody
-
- StreamBody(InputStream, boolean, long, MediaType) - Constructor for class com.yanzhenjie.andserver.framework.body.StreamBody
-
- string() - Method in interface com.yanzhenjie.andserver.http.RequestBody
-
Convert the request body to a String.
- StringBody - Class in com.yanzhenjie.andserver.framework.body
-
Created by Zhenjie Yan on 2018/8/6.
- StringBody(String) - Constructor for class com.yanzhenjie.andserver.framework.body.StringBody
-
- StringBody(String, MediaType) - Constructor for class com.yanzhenjie.andserver.framework.body.StringBody
-
- StringUtils - Class in com.yanzhenjie.andserver.util
-
- StringUtils() - Constructor for class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
- stripFilenameExtension(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Strip the filename extension from the given Java resource path, e.g.
- submit(Runnable) - Method in class com.yanzhenjie.andserver.util.Executors
-
Submit a runnable.
- submit(Runnable, T) - Method in class com.yanzhenjie.andserver.util.Executors
-
Submit a runnable.
- submit(Callable<T>) - Method in class com.yanzhenjie.andserver.util.Executors
-
Submit a callable.
- substringMatch(CharSequence, int, CharSequence) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Test whether the given string matches the given substring at the given index.
- TAG - Static variable in class com.yanzhenjie.andserver.AndServer
-
- TE - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.39
- TEXT_EVENT_STREAM - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for text/event-stream.
- TEXT_EVENT_STREAM_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- TEXT_HTML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for text/html.
- TEXT_HTML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- TEXT_MARKDOWN - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for text/markdown.
- TEXT_MARKDOWN_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- TEXT_PLAIN - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for text/plain.
- TEXT_PLAIN_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- TEXT_XML - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
Public constant media type for text/xml.
- TEXT_XML_VALUE - Static variable in class com.yanzhenjie.andserver.util.MediaType
-
- TIMEOUT - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.8
- timeout(int, TimeUnit) - Method in class com.yanzhenjie.andserver.server.BasicServer.Builder
-
- timeout(int, TimeUnit) - Method in interface com.yanzhenjie.andserver.Server.Builder
-
Connection and response timeout.
- timeout(int, TimeUnit) - Method in interface com.yanzhenjie.andserver.Server.ProxyBuilder
-
Connection and response timeout.
- toArray(Enumeration<E>, A[]) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Marshal the elements from the given enumeration into an array of the given type.
- toBufferedInputStream(InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toBufferedOutputStream(OutputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toBufferedReader(Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toBufferedWriter(Writer) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(CharSequence) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(CharSequence, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(CharSequence, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(InputStream, int) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(Reader, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toByteArray(Reader, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toCharArray(CharSequence) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toCharArray(InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toCharArray(InputStream, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toCharArray(InputStream, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toCharArray(Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toInputStream(CharSequence) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toInputStream(CharSequence, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toInputStream(CharSequence, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toIterator(Enumeration<E>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Adapt an enumeration to an iterator.
- tokenizeToStringArray(String, String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Tokenize the given String into a String array via a StringTokenizer.
- tokenizeToStringArray(String, String, boolean, boolean) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Tokenize the given String into a String array via a StringTokenizer.
- toLanguageTag(Locale) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
- toMultiValueMap(Map<K, List<V>>) - Static method in class com.yanzhenjie.andserver.util.CollectionUtils
-
Deprecated.
Adapt a Map<K, List<V>> to an MultiValueMap<K, V>.
- toNonClosing(InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toNonClosing(OutputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toObjectArray(Object) - Static method in class com.yanzhenjie.andserver.util.ObjectUtils
-
Deprecated.
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper
objects).
- toSingleValueMap() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- toSingleValueMap() - Method in interface com.yanzhenjie.andserver.util.MultiValueMap
-
Returns the first values contained in this MultiValueMap.
- toString() - Method in class com.yanzhenjie.andserver.framework.mapping.Path.Segment
-
- toString() - Method in enum com.yanzhenjie.andserver.http.HttpMethod
-
- toString() - Method in class com.yanzhenjie.andserver.http.multipart.BodyContext
-
- toString() - Method in class com.yanzhenjie.andserver.http.Uri
-
- toString() - Method in class com.yanzhenjie.andserver.util.comparator.CompoundComparator
-
- toString() - Method in class com.yanzhenjie.andserver.util.comparator.InvertibleComparator
-
- toString(InputStream) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(InputStream, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(InputStream, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(Reader) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(Reader, String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(Reader, Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(byte[]) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(byte[], String) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString(byte[], Charset) - Static method in class com.yanzhenjie.andserver.util.IOUtils
-
- toString() - Method in class com.yanzhenjie.andserver.util.LinkedCaseInsensitiveMap
-
- toString() - Method in class com.yanzhenjie.andserver.util.LinkedMultiValueMap
-
- toString() - Method in class com.yanzhenjie.andserver.util.MimeType
-
- toString(Collection<? extends MimeType>) - Static method in class com.yanzhenjie.andserver.util.MimeType
-
Return a string representation of the given list of Mime objects.
- toStringArray(Collection<String>) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Copy the given Collection into a String array.
- toStringArray(Enumeration<String>) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Copy the given Enumeration into a String array.
- TRAILER - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.40
- TRANSFER_ENCODING - Static variable in interface com.yanzhenjie.andserver.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.41
- transferTo(File) - Method in interface com.yanzhenjie.andserver.http.multipart.MultipartFile
-
Writing the received file to the given destination file.
- transferTo(File) - Method in class com.yanzhenjie.andserver.http.multipart.StandardMultipartFile
-
- trimAllWhitespace(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim all whitespace from the given String: leading, trailing, and in between characters.
- trimArrayElements(String[]) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim the elements of the given String array, calling String.trim() on each of them.
- trimEndSlash(String) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Remove '/' at the ending.
- trimLeadingCharacter(String, char) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim all occurrences of the supplied leading character from the given String.
- trimLeadingWhitespace(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim leading whitespace from the given String.
- trimSlash(String) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Remove the '/' at the beginning and ending.
- trimStartSlash(String) - Method in class com.yanzhenjie.andserver.framework.website.BasicWebsite
-
Remove '/' at the beginning.
- trimTrailingCharacter(String, char) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim all occurrences of the supplied trailing character from the given String.
- trimTrailingWhitespace(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim trailing whitespace from the given String.
- trimWhitespace(String) - Static method in class com.yanzhenjie.andserver.util.StringUtils
-
Deprecated.
Trim leading and trailing whitespace from the given String.
- TypeWrapper<T> - Class in com.yanzhenjie.andserver.util
-
Created by Zhenjie Yan on 2018/9/11.
- TypeWrapper() - Constructor for class com.yanzhenjie.andserver.util.TypeWrapper
-