public abstract class ServerRequestInterceptorHelper extends Object
A request Interceptor is designed to intercept the flow of a request/reply sequence through the ORB at specific points so that services can query the request information and manipulate the service contexts which are propagated between clients and servers. The primary use of request Interceptors is to enable ORB services to transfer context information between clients and servers. There are two types of request Interceptors: client-side and server-side.
To write a server-side Interceptor, implement the ServerRequestInterceptor interface.
ServerRequestInfo
Constructor and Description |
---|
ServerRequestInterceptorHelper() |
Modifier and Type | Method and Description |
---|---|
static ServerRequestInterceptor |
extract(Any a) |
static String |
id() |
static void |
insert(Any a,
ServerRequestInterceptor that) |
static ServerRequestInterceptor |
narrow(Object obj) |
static ServerRequestInterceptor |
read(InputStream istream) |
static TypeCode |
type() |
static ServerRequestInterceptor |
unchecked_narrow(Object obj) |
static void |
write(OutputStream ostream,
ServerRequestInterceptor value) |
public static void insert(Any a, ServerRequestInterceptor that)
public static ServerRequestInterceptor extract(Any a)
public static TypeCode type()
public static String id()
public static ServerRequestInterceptor read(InputStream istream)
public static void write(OutputStream ostream, ServerRequestInterceptor value)
public static ServerRequestInterceptor narrow(Object obj)
public static ServerRequestInterceptor unchecked_narrow(Object obj)
Copyright © 2019 JBoss by Red Hat. All rights reserved.