A B C D E F G H I J M O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- allCallbacksFinished() - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- AsyncHttpURLClient - Class in de.narimo.commons.ws.http.async
- AsyncHttpURLClient() - Constructor for class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- AuthenticationType - Enum in de.narimo.commons.ws.http.auth
-
Deprecated.
B
- BadGatewayException - Exception in de.narimo.commons.ws.error
- BadGatewayException() - Constructor for exception de.narimo.commons.ws.error.BadGatewayException
-
Construct a new instance with a blank message and default HTTP status code of 502.
- BadGatewayException(String) - Constructor for exception de.narimo.commons.ws.error.BadGatewayException
-
Construct a new instance with a blank message and default HTTP status code of 502.
C
- checkHeaders(MultivaluedMap<String, String>) - Static method in class de.narimo.commons.ws.http.HTTPProxy
- close() - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- CommonInvocationCallback<T> - Class in de.narimo.commons.ws.http.async
- CommonInvocationCallback() - Constructor for class de.narimo.commons.ws.http.async.CommonInvocationCallback
- completed(String) - Method in class de.narimo.commons.ws.http.async.CommonInvocationCallback
- completed(Response) - Method in class de.narimo.commons.ws.http.async.ResponseInvocationCallback
- COOKIE - de.narimo.commons.ws.http.auth.AuthenticationType
-
Deprecated.
- CookieTools - Class in de.narimo.commons.ws.http
- CookieTools() - Constructor for class de.narimo.commons.ws.http.CookieTools
D
- de.narimo.commons.ws.error - package de.narimo.commons.ws.error
- de.narimo.commons.ws.filter - package de.narimo.commons.ws.filter
- de.narimo.commons.ws.geocode - package de.narimo.commons.ws.geocode
- de.narimo.commons.ws.http - package de.narimo.commons.ws.http
- de.narimo.commons.ws.http.async - package de.narimo.commons.ws.http.async
- de.narimo.commons.ws.http.auth - package de.narimo.commons.ws.http.auth
- de.narimo.commons.ws.mail - package de.narimo.commons.ws.mail
- DELETE - de.narimo.commons.ws.http.HttpMethod
E
- ErrorMessage - Class in de.narimo.commons.ws.error
- ErrorMessage() - Constructor for class de.narimo.commons.ws.error.ErrorMessage
F
- failed(Throwable) - Method in class de.narimo.commons.ws.http.async.CommonInvocationCallback
- failed(Throwable) - Method in class de.narimo.commons.ws.http.async.ResponseInvocationCallback
- filter(ContainerRequestContext) - Method in class de.narimo.commons.ws.filter.RequestLogger
- filter(ContainerRequestContext, ContainerResponseContext) - Method in class de.narimo.commons.ws.filter.ResponseLogger
- finish(URLResponse, boolean) - Static method in class de.narimo.commons.ws.http.HTTPProxy
-
Finish piping a http response by converting to javax.ws.rs.core.Response
- finish(URLResponse, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HTTPProxy
-
Some (browser) clients are not able to handle 401 responses.
G
- GenericExceptionMapper - Class in de.narimo.commons.ws.filter
-
See http://www.codingpedia.org/ama/error-handling-in-rest-api-with-jersey/
- GenericExceptionMapper() - Constructor for class de.narimo.commons.ws.filter.GenericExceptionMapper
- geocode(String, String, String, String, String, String, String) - Static method in class de.narimo.commons.ws.geocode.Geocoder
- geocodeCSVAddresses(File, File, int, int, int, int, char, String, String, String) - Static method in class de.narimo.commons.ws.geocode.Geocoder
- Geocoder - Class in de.narimo.commons.ws.geocode
- Geocoder() - Constructor for class de.narimo.commons.ws.geocode.Geocoder
- GeocodingGeometry - Class in de.narimo.commons.ws.geocode
- GeocodingGeometry() - Constructor for class de.narimo.commons.ws.geocode.GeocodingGeometry
- GeocodingRate - Class in de.narimo.commons.ws.geocode
- GeocodingRate() - Constructor for class de.narimo.commons.ws.geocode.GeocodingRate
- GeocodingResponse - Class in de.narimo.commons.ws.geocode
- GeocodingResponse() - Constructor for class de.narimo.commons.ws.geocode.GeocodingResponse
- GeocodingResult - Class in de.narimo.commons.ws.geocode
- GeocodingResult() - Constructor for class de.narimo.commons.ws.geocode.GeocodingResult
- get(String, Map<String, String>, InvocationCallback) - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- GET - de.narimo.commons.ws.http.HttpMethod
- getAccessToken() - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- getAccessToken() - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- getAuthenticationType() - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- getAuthenticationType() - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- getAuthFactory() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- getAuthorizationHeader() - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- getAuthorizationHeader() - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- getBody() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- getCallbackMap() - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- getConnectionHeaders() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- getCookie(String, String) - Static method in class de.narimo.commons.ws.http.CookieTools
- getCookie(List<String>, String) - Static method in class de.narimo.commons.ws.http.CookieTools
- getCookie(Cookie[], String) - Static method in class de.narimo.commons.ws.http.CookieTools
- getCookies(List<String>) - Static method in class de.narimo.commons.ws.http.CookieTools
- getCookieValue(String, String) - Static method in class de.narimo.commons.ws.http.CookieTools
-
Returns the cookie value for cookieName from cookieString or null, if not found.
- getCookieValue(List<String>, String) - Static method in class de.narimo.commons.ws.http.CookieTools
-
Returns the cookie value for cookieName from cookieString or null, if not found.
- getCredentials() - Method in class de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactory
- getCredentials() - Method in interface de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactoryInterface
- getDocumentation() - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- getGeometry() - Method in class de.narimo.commons.ws.geocode.GeocodingResult
- getHeaders(HttpServletRequest) - Static method in class de.narimo.commons.ws.http.HTTPProxy
-
Puts all headers from a HttpServletRequest.
- getHostnameVerifier() - Static method in class de.narimo.commons.ws.http.HttpURLClient
- getHttpMethod(String) - Static method in enum de.narimo.commons.ws.http.HttpMethod
- getLatitude() - Method in class de.narimo.commons.ws.geocode.GeocodingGeometry
- getLimit() - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- getLongitude() - Method in class de.narimo.commons.ws.geocode.GeocodingGeometry
- getMessage() - Method in class de.narimo.commons.ws.error.ErrorMessage
- getMethod() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- getQueryParams() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- getRate() - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- getRemaining() - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- getReset() - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- getResponseBody(HttpURLConnection) - Static method in class de.narimo.commons.ws.http.HttpURLClient
-
Reads the response stream and converts it to a StringBuffer.
- getResults() - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- getSessionCookies() - Method in class de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactory
- getSessionCookies() - Method in interface de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactoryInterface
- getSSLSocketFactoryTrusted() - Static method in class de.narimo.commons.ws.http.HttpURLClient
-
Do not use in production code!!
- getStackTrace() - Method in class de.narimo.commons.ws.error.ErrorMessage
- getStatus() - Method in class de.narimo.commons.ws.error.ErrorMessage
- getStringFromInputStream(InputStream) - Static method in class de.narimo.commons.ws.http.HttpURLClient
-
Converts an InputStream to String.
- getTotalResults() - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- getUrl() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
H
- HEAD - de.narimo.commons.ws.http.HttpMethod
- HTTPAuthorizationFactory - Class in de.narimo.commons.ws.http.auth
-
Common authorization object which can be added to a custom HTTPClient containing authorization details.
- HTTPAuthorizationFactory() - Constructor for class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- HTTPAuthorizationFactoryInterface - Interface in de.narimo.commons.ws.http.auth
-
Common authorization object interface which can be used to hold authorization details.
- HTTPBasicAuthorizationFactory - Class in de.narimo.commons.ws.http.auth
-
Common authorization object which can be added to a custom HTTPClient containing authorization details.
- HTTPBasicAuthorizationFactory() - Constructor for class de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactory
- HTTPBasicAuthorizationFactoryInterface - Interface in de.narimo.commons.ws.http.auth
-
Common authorization object interface which can be used to hold authorization details.
- HttpMethod - Enum in de.narimo.commons.ws.http
- HTTPProxy - Class in de.narimo.commons.ws.http
- HTTPProxy() - Constructor for class de.narimo.commons.ws.http.HTTPProxy
- HTTPRequestParams - Class in de.narimo.commons.ws.http
- HTTPRequestParams() - Constructor for class de.narimo.commons.ws.http.HTTPRequestParams
- HTTPRequestWrapper - Class in de.narimo.commons.ws.http
- HTTPRequestWrapper() - Constructor for class de.narimo.commons.ws.http.HTTPRequestWrapper
- HttpURLClient - Class in de.narimo.commons.ws.http
- HttpURLClient(Map<String, String>, String, String) - Constructor for class de.narimo.commons.ws.http.HttpURLClient
- HttpURLClient.Verifier - Class in de.narimo.commons.ws.http
-
DO NOT use in production!!!
I
- isFollowRedirects() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- isHttps() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- isResponseAsStream() - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- isVerbose() - Method in class de.narimo.commons.ws.http.HttpURLClient
J
- JWT - de.narimo.commons.ws.http.auth.AuthenticationType
-
Deprecated.
M
- Mailer - Class in de.narimo.commons.ws.mail
- Mailer() - Constructor for class de.narimo.commons.ws.mail.Mailer
- Mailer(String, Integer, String) - Constructor for class de.narimo.commons.ws.mail.Mailer
- main(String[]) - Static method in class de.narimo.commons.ws.geocode.Geocoder
- main(String[]) - Static method in class de.narimo.commons.ws.http.HTTPRequestWrapper
- main(String[]) - Static method in class de.narimo.commons.ws.http.HttpURLClient
- makeResponse(HttpURLConnection, StringBuffer, boolean) - Static method in class de.narimo.commons.ws.http.HttpURLClient
-
Assemble correct response from the HTTPURLConnection
O
- OPTIONS - de.narimo.commons.ws.http.HttpMethod
P
- pipeOutgoingHeaders(HttpHeaders, Map<String, List<String>>, boolean) - Static method in class de.narimo.commons.ws.http.HTTPProxy
-
aka GeoserverHTTPProxy.pipeGeoserverHeaders Will create a new map of outgoing headers as they otherwise could not be modified.
- pipeServiceRequest(HTTPRequestParams, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HTTPProxy
- pipeServiceRequest(String, HttpMethod, MultivaluedMap<String, String>, Map<String, String>, String, HTTPBasicAuthorizationFactory, boolean) - Static method in class de.narimo.commons.ws.http.HTTPProxy
-
Pipes a request to a remote service.
- POST - de.narimo.commons.ws.http.HttpMethod
- printRequestHeaders(String, HttpServletRequest) - Static method in class de.narimo.commons.ws.filter.RequestLogger
- PUT - de.narimo.commons.ws.http.HttpMethod
R
- removeHeader(MultivaluedMap<String, String>, String) - Static method in class de.narimo.commons.ws.http.HTTPProxy
- RequestLogger - Class in de.narimo.commons.ws.filter
- RequestLogger() - Constructor for class de.narimo.commons.ws.filter.RequestLogger
- ResponseInvocationCallback<T> - Class in de.narimo.commons.ws.http.async
- ResponseInvocationCallback() - Constructor for class de.narimo.commons.ws.http.async.ResponseInvocationCallback
- ResponseLogger - Class in de.narimo.commons.ws.filter
- ResponseLogger() - Constructor for class de.narimo.commons.ws.filter.ResponseLogger
S
- sendMail(String, String, String, String, String, String) - Method in class de.narimo.commons.ws.mail.Mailer
- sendRequest(HTTPRequestParams, boolean) - Static method in class de.narimo.commons.ws.http.HTTPRequestWrapper
-
Sends an http request and removes all authentication related params, if this is an external request, before sending.
- sendRequest(String, Map<String, String>, Map<String, String>, String, HttpMethod, HTTPAuthorizationFactory, boolean, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HttpURLClient
- sendRequest(String, Map<String, String>, Map<String, String>, String, HttpMethod, HTTPBasicAuthorizationFactory, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HttpURLClient
- sendRequest(String, Map<String, String>, Map<String, String>, String, HttpMethod, Cookie[], String, String, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HttpURLClient
- sendRequestMultivalue(String, MultivaluedMap<String, String>, Map<String, String>, String, HttpMethod, HTTPBasicAuthorizationFactory, boolean, boolean, boolean) - Static method in class de.narimo.commons.ws.http.HttpURLClient
- setAccessToken(String) - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- setAccessToken(String) - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- setAuthenticationType(AuthenticationType) - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- setAuthenticationType(AuthenticationType) - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- setAuthFactory(HTTPBasicAuthorizationFactory) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setAuthorizationHeader(String) - Method in class de.narimo.commons.ws.http.auth.HTTPAuthorizationFactory
- setAuthorizationHeader(String) - Method in interface de.narimo.commons.ws.http.auth.HTTPAuthorizationFactoryInterface
- setAuthorizationHeader(String, String) - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- setBody(String) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setConnectionHeaders(Map<String, String>) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setCredentials(UserCredentials) - Method in class de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactory
- setCredentials(UserCredentials) - Method in interface de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactoryInterface
- setDocumentation(String) - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- setFinished(InvocationCallback) - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- setFollowRedirects(boolean) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setFollowRedirects(boolean) - Method in class de.narimo.commons.ws.http.HttpURLClient
- setGeometry(GeocodingGeometry) - Method in class de.narimo.commons.ws.geocode.GeocodingResult
- setHeader(MultivaluedMap<String, String>, String, String) - Static method in class de.narimo.commons.ws.http.HTTPProxy
- setHeader(MultivaluedMap<String, String>, String, List<String>) - Static method in class de.narimo.commons.ws.http.HTTPProxy
- setHttps(boolean) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setHttps(boolean) - Method in class de.narimo.commons.ws.http.HttpURLClient
- setHttps(boolean, SSLSocketFactory, HostnameVerifier) - Method in class de.narimo.commons.ws.http.HttpURLClient
- setLatitude(Double) - Method in class de.narimo.commons.ws.geocode.GeocodingGeometry
- setLimit(Integer) - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- setLongitude(Double) - Method in class de.narimo.commons.ws.geocode.GeocodingGeometry
- setMessage(String) - Method in class de.narimo.commons.ws.error.ErrorMessage
- setMethod(HttpMethod) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setQueryParams(MultivaluedMap<String, String>) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setRate(GeocodingRate) - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- setRemaining(Integer) - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- setReset(Long) - Method in class de.narimo.commons.ws.geocode.GeocodingRate
- setResponseAsStream(boolean) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setResponseAsStream(boolean) - Method in class de.narimo.commons.ws.http.HttpURLClient
- setResults(List<GeocodingResult>) - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- setSessionCookies(Cookie[]) - Method in class de.narimo.commons.ws.http.async.AsyncHttpURLClient
- setSessionCookies(Cookie[]) - Method in class de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactory
- setSessionCookies(Cookie[]) - Method in interface de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactoryInterface
- setStackTrace(String) - Method in class de.narimo.commons.ws.error.ErrorMessage
- setStatus(int) - Method in class de.narimo.commons.ws.error.ErrorMessage
- setTotalResults(Integer) - Method in class de.narimo.commons.ws.geocode.GeocodingResponse
- setUrl(String) - Method in class de.narimo.commons.ws.http.HTTPRequestParams
- setVerbose(boolean) - Method in class de.narimo.commons.ws.http.HttpURLClient
T
- toCookieString(Cookie[]) - Static method in class de.narimo.commons.ws.http.CookieTools
-
Put all cookies into a http connection header digestible string.
- toResponse(Throwable) - Method in class de.narimo.commons.ws.filter.GenericExceptionMapper
V
- valueOf(String) - Static method in enum de.narimo.commons.ws.http.auth.AuthenticationType
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.narimo.commons.ws.http.HttpMethod
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.narimo.commons.ws.http.auth.AuthenticationType
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.narimo.commons.ws.http.HttpMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Verifier() - Constructor for class de.narimo.commons.ws.http.HttpURLClient.Verifier
- verify(String, SSLSession) - Method in class de.narimo.commons.ws.http.HttpURLClient.Verifier
All Classes All Packages