Skip navigation links
A C E G H I L M N O P R S U 

A

addDataToContextAttributes(String, Object) - Static method in class org.wso2.micro.gateway.interceptor.Utils
Add the data to invocation context attributes map as key, value pairs.
addHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Adds the specified header to the entity.
addHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Request
Adds the specified header to the request.
addHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Response
Adds the specified header to the response.

C

Caller - Class in org.wso2.micro.gateway.interceptor
Representation of ballerina http:Caller object.
Caller(ObjectValue) - Constructor for class org.wso2.micro.gateway.interceptor.Caller
 
ConfigUtils - Class in org.wso2.micro.gateway.interceptor
Set of utilities to read the configurations.
ConfigUtils() - Constructor for class org.wso2.micro.gateway.interceptor.ConfigUtils
 
Constants - Class in org.wso2.micro.gateway.interceptor
Class to hold the constants related to interceptor util methods.
Constants() - Constructor for class org.wso2.micro.gateway.interceptor.Constants
 
CONTENT_TYPE_HEADER - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
convertArrayValueToList(ArrayValue) - Static method in class org.wso2.micro.gateway.interceptor.InterceptorUtils
 
convertBMapToMap(BMap) - Static method in class org.wso2.micro.gateway.interceptor.InterceptorUtils
 

E

Entity - Class in org.wso2.micro.gateway.interceptor
Represents the headers and body of a message.
Entity(ObjectValue) - Constructor for class org.wso2.micro.gateway.interceptor.Entity
 
Entity() - Constructor for class org.wso2.micro.gateway.interceptor.Entity
 
EXPECT_HEADER - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
expects100Continue() - Method in class org.wso2.micro.gateway.interceptor.Request
Checks whether the client expects a `100-continue` response.

G

getAsBoolean(String, boolean) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as a boolean.
getAsFloat(String, float) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as a float.
getAsInt(String, int) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as an int.
getAsList(String) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as an array.
getAsMap(String) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as a map.
getAsString(String, String) - Static method in class org.wso2.micro.gateway.interceptor.ConfigUtils
Retrieves the specified configuration value as a string.
getBinaryPayload() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the request payload as a `byte[]`.
getBinaryPayload() - Method in class org.wso2.micro.gateway.interceptor.Response
Gets the response payload as a `byte[]`.
getBodyParts() - Method in class org.wso2.micro.gateway.interceptor.Entity
Given an entity, gets its body parts.
getBodyParts() - Method in class org.wso2.micro.gateway.interceptor.Request
Extracts body parts from the request.
getBodyParts() - Method in class org.wso2.micro.gateway.interceptor.Response
Extracts body parts from the response.
getByteArray() - Method in class org.wso2.micro.gateway.interceptor.Entity
Gets the entity payload as a `byte[]`.
getByteChannel() - Method in class org.wso2.micro.gateway.interceptor.Entity
Given an entity, gets the entity body as a byte channel.
getByteChannel() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the request payload as a `ByteChannel` except in the case of multiparts.
getByteChannel() - Method in class org.wso2.micro.gateway.interceptor.Response
Gets the response payload as a `ByteChannel` except in the case of multiparts.
getContentType() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the type of the payload of the request (i.e: the `content-type` header value).
getContentType() - Method in class org.wso2.micro.gateway.interceptor.Response
Gets the type of the payload of the response (i.e: the `content-type` header value).
getEntity() - Method in class org.wso2.micro.gateway.interceptor.Request
 
getEntity() - Method in class org.wso2.micro.gateway.interceptor.Response
 
getEntityObj() - Method in class org.wso2.micro.gateway.interceptor.Entity
Returns the java native object of the ballerina level mime:Entity object.
getEntityWithoutBody() - Method in class org.wso2.micro.gateway.interceptor.Request
 
getEntityWithoutBody() - Method in class org.wso2.micro.gateway.interceptor.Response
 
getHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Returns the value of the specified header.
getHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Returns the value of the specified header.
getHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Returns the value of the specified header.
getHeaderNames() - Method in class org.wso2.micro.gateway.interceptor.Entity
Gets all the names of the headers of the entity.
getHeaderNames() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets all the names of the headers of the request.
getHeaderNames() - Method in class org.wso2.micro.gateway.interceptor.Response
Gets all the names of the headers of the request.
getHeaders(String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Gets all the header values to which the specified header key maps to.
getHeaders(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Gets all the header values to which the specified header key maps to.
getHeaders(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Gets all the header values to which the specified header key maps to.
getInvocationContext() - Static method in class org.wso2.micro.gateway.interceptor.Utils
Provided the invocation context object.
getInvocationContextAttributes() - Static method in class org.wso2.micro.gateway.interceptor.Utils
Provided the invocation context set of attributes.
getJson() - Method in class org.wso2.micro.gateway.interceptor.Entity
Extracts `json` payload from the entity.
getJsonArray() - Method in class org.wso2.micro.gateway.interceptor.Entity
Extracts `json array` payload from the entity.
getJsonArrayPayload() - Method in class org.wso2.micro.gateway.interceptor.Request
Extracts `json array` payload from the request.
getJsonArrayPayload() - Method in class org.wso2.micro.gateway.interceptor.Response
Extracts `json array` payload from the response.
getJsonPayload() - Method in class org.wso2.micro.gateway.interceptor.Request
Extracts `json` payload from the request.
getJsonPayload() - Method in class org.wso2.micro.gateway.interceptor.Response
Extracts `json` payload from the response.
getLocalAddress() - Method in class org.wso2.micro.gateway.interceptor.Caller
Get the local address from the caller object.
getMatrixParams(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the matrix parameters of the request.
getNativeRequestObject() - Method in class org.wso2.micro.gateway.interceptor.Caller
Returns the java native object of the ballerina level http:Caller object.
getNativeRequestObject() - Method in class org.wso2.micro.gateway.interceptor.Request
Returns the java native object of the ballerina level http:Request object.
getNativeRequestObject() - Method in class org.wso2.micro.gateway.interceptor.Response
Returns the java native object of the ballerina level http:Response object.
getPathInfo() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the additional path information available in the request.
getPathParams() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the path parameters of the request as a map.
getQueryParams() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the query parameters of the request as a map.
getQueryParamValue(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the query param value associated with the given key.
getQueryParamValues(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Gets all the query param values associated with the given key.
getRemoteAddress() - Method in class org.wso2.micro.gateway.interceptor.Caller
Get the remote address from the caller object.
getRequestHttpMethod() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the requested resource http method.
getRequestHttpVersion() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the http version used for the request.
getRequestPath() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the requested resource path.
getResolvedRequestedURI() - Method in class org.wso2.micro.gateway.interceptor.Response
Get the ultimate request URI that was made to receive the response when redirect is on.
getResponseCode() - Method in class org.wso2.micro.gateway.interceptor.Response
Get the http status code of the response.
getResponseObjectValue() - Method in class org.wso2.micro.gateway.interceptor.Response
 
getText() - Method in class org.wso2.micro.gateway.interceptor.Entity
Extracts `text` payload from the entity.
getTextPayload() - Method in class org.wso2.micro.gateway.interceptor.Request
Extracts `text` payload from the request.
getTextPayload() - Method in class org.wso2.micro.gateway.interceptor.Response
Extracts `text` payload from the response.
getUserAgent() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the request user agent details.
getXml() - Method in class org.wso2.micro.gateway.interceptor.Entity
Extracts `xml` payload from the entity.
getXmlPayload() - Method in class org.wso2.micro.gateway.interceptor.Request
Extracts `xml` payload from the request.
getXmlPayload() - Method in class org.wso2.micro.gateway.interceptor.Response
Extracts `xml` payload from the response.

H

hasHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Checks whether the requested header key exists in the header map.
hasHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Checks whether the requested header key exists in the header map.
hasHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Checks whether the requested header key exists in the header map.
HOST - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
HUNDRED_CONTINUE - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 

I

Interceptor - Interface in org.wso2.micro.gateway.interceptor
Defines the interface for writing the gateway interceptors.
InterceptorException - Exception in org.wso2.micro.gateway.interceptor
Exception type definition for calling Request/Response and other interceptor related methods.
InterceptorException(String, Throwable) - Constructor for exception org.wso2.micro.gateway.interceptor.InterceptorException
 
InterceptorException(String) - Constructor for exception org.wso2.micro.gateway.interceptor.InterceptorException
 
InterceptorUtils - Class in org.wso2.micro.gateway.interceptor
These are internal utility methods used by the micro gateway java interceptor library.
InterceptorUtils() - Constructor for class org.wso2.micro.gateway.interceptor.InterceptorUtils
 
interceptRequest(Caller, Request) - Method in interface org.wso2.micro.gateway.interceptor.Interceptor
Intercepts the request before forwarding the request to the back end.
interceptResponse(Caller, Response) - Method in interface org.wso2.micro.gateway.interceptor.Interceptor
Intercepts the response before forwarding the response to the client.

L

LEADING_HEADER - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
LOCAL_ADDRESS - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 

M

MGWBlockingCallBack - Class in org.wso2.micro.gateway.interceptor
Represents a blocking call back when request payloads are used.
MGWBlockingCallBack(Strand) - Constructor for class org.wso2.micro.gateway.interceptor.MGWBlockingCallBack
 
MULTIPART_FORM_DATA - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 

N

notifyFailure() - Method in class org.wso2.micro.gateway.interceptor.MGWBlockingCallBack
 
notifySuccess() - Method in class org.wso2.micro.gateway.interceptor.MGWBlockingCallBack
 

O

OCTET_STREAM - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
org.wso2.micro.gateway.interceptor - package org.wso2.micro.gateway.interceptor
 

P

PATH_INFO - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
PORT - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 

R

READABLE_BYTE_CHANNEL - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
REMOTE_ADDRESS - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
removeAllHeaders() - Method in class org.wso2.micro.gateway.interceptor.Entity
Removes all the headers from the entity.
removeAllHeaders() - Method in class org.wso2.micro.gateway.interceptor.Request
Removes all the headers from the request.
removeAllHeaders() - Method in class org.wso2.micro.gateway.interceptor.Response
Removes all the headers from the response.
removeHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Removes the specified header from the entity.
removeHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Removes the specified header from the request.
removeHeader(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Removes the specified header from the response.
Request - Class in org.wso2.micro.gateway.interceptor
Representation of ballerina http:Request object.
Request(ObjectValue) - Constructor for class org.wso2.micro.gateway.interceptor.Request
 
REQUEST_HTTP_VERSION - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
REQUEST_METHOD - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
REQUEST_PATH_PARAMS - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
RESOLVED_REQUESTED_URI - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
RESOURCE_PATH - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
respond(Response) - Method in class org.wso2.micro.gateway.interceptor.Caller
Method use to send the response to the client.
RESPOND_DONE - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
Response - Class in org.wso2.micro.gateway.interceptor
Representation of ballerina http:Response object.
Response(ObjectValue) - Constructor for class org.wso2.micro.gateway.interceptor.Response
 
Response() - Constructor for class org.wso2.micro.gateway.interceptor.Response
 
RESPONSE_OBJECT - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 

S

setBinary(byte[]) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a byte[] content to the entity.
setBinaryPayload(byte[]) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets a byte[] content as the payload.
setBinaryPayload(byte[]) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets a byte[] content as the payload.
setBodyParts(Entity[], String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Set multiparts as the payload.
setBodyParts(Entity[], String) - Method in class org.wso2.micro.gateway.interceptor.Request
Set multiparts as the payload.
setBodyParts(Entity[], String) - Method in class org.wso2.micro.gateway.interceptor.Response
Set multiparts as the payload.
setByteChannel(Channel, String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a `ByteChannel` to the entity.
setByteChannel(Channel, String) - Method in class org.wso2.micro.gateway.interceptor.Request
Set byte channel as the payload.
setByteChannel(Channel, String) - Method in class org.wso2.micro.gateway.interceptor.Response
Set byte channel as the payload.
setContentType(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets the `content-type` header to the request.
setContentType(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets the `content-type` header to the response.
setEntity(Entity) - Method in class org.wso2.micro.gateway.interceptor.Request
 
setEntity(Entity) - Method in class org.wso2.micro.gateway.interceptor.Response
 
setHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets the specified header to the entity.
setHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets the specified header to the request.
setHeader(String, String) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets the specified header to the response.
setJson(JSONObject) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a json JSONObject as the payload to the entity.
setJson(JSONArray) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a json arrayJSONArray as the payload to the entity.
setJsonPayload(JSONObject) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets a json JSONObject as the payload to the request.
setJsonPayload(JSONArray) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets a json array JSONArray as the payload to the request.
setJsonPayload(JSONObject) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets a json as the payload.
setJsonPayload(JSONArray) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets a json array as the payload.
setResponseCode(long) - Method in class org.wso2.micro.gateway.interceptor.Response
Set the http status code for the response.
setText(String) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a string text content to the entity.
setTextPayload(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets a string text content as the payload.
setTextPayload(String) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets a string text content as the payload.
setXml(BXML) - Method in class org.wso2.micro.gateway.interceptor.Entity
Sets a xml to the entity.
setXmlPayload(BXML) - Method in class org.wso2.micro.gateway.interceptor.Request
Sets a xml as the payload.
setXmlPayload(BXML) - Method in class org.wso2.micro.gateway.interceptor.Response
Sets a xml as the payload.
STATUS_CODE - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
sync() - Method in class org.wso2.micro.gateway.interceptor.MGWBlockingCallBack
 

U

USER_INFO - Static variable in class org.wso2.micro.gateway.interceptor.Constants
 
Utils - Class in org.wso2.micro.gateway.interceptor
Utility methods in order to write java level interceptors.
Utils() - Constructor for class org.wso2.micro.gateway.interceptor.Utils
 
A C E G H I L M N O P R S U 
Skip navigation links

Copyright © 2021 WSO2. All rights reserved.