public abstract class RequestInfoHelper extends Object
Each interception point is given an object through which the
Interceptor can access request information. Client-side and server-side
interception points are concerned with different information, so there
are two information objects: ClientRequestInfo
is passed
to the client-side interception points and ServerRequestInfo
is passed to the server-side interception points. But there is
information that is common to both, so they both inherit from a common
interface: RequestInfo
.
ClientRequestInfo
,
ServerRequestInfo
Constructor and Description |
---|
RequestInfoHelper() |
Modifier and Type | Method and Description |
---|---|
static RequestInfo |
extract(Any a) |
static String |
id() |
static void |
insert(Any a,
RequestInfo that) |
static RequestInfo |
narrow(Object obj) |
static RequestInfo |
read(InputStream istream) |
static TypeCode |
type() |
static RequestInfo |
unchecked_narrow(Object obj) |
static void |
write(OutputStream ostream,
RequestInfo value) |
public static void insert(Any a, RequestInfo that)
public static RequestInfo extract(Any a)
public static TypeCode type()
public static String id()
public static RequestInfo read(InputStream istream)
public static void write(OutputStream ostream, RequestInfo value)
public static RequestInfo narrow(Object obj)
public static RequestInfo unchecked_narrow(Object obj)
Copyright © 2017 JBoss by Red Hat. All rights reserved.