Skip navigation links
A C E G H I L O R S 

A

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
 
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
 

E

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

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).
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.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.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.
getMatrixParams(String) - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the matrix parameters of the request.
getQueryParams() - Method in class org.wso2.micro.gateway.interceptor.Request
Gets the query parameters of the request as a ballerina 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.
getResponseObjectValue() - Method in class org.wso2.micro.gateway.interceptor.Response
 

H

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.
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
 
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
 

O

org.wso2.micro.gateway.interceptor - package org.wso2.micro.gateway.interceptor
 

R

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.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
 
respond(Response) - Method in class org.wso2.micro.gateway.interceptor.Caller
 
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
 

S

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.
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.
A C E G H I L O R S 
Skip navigation links

Copyright © 2020 WSO2. All rights reserved.