org.glassfish.admin.payload
Class PayloadImpl.Inbound
java.lang.Object
org.glassfish.admin.payload.PayloadImpl.Inbound
- All Implemented Interfaces:
- Payload.Inbound
- Direct Known Subclasses:
- TextPayloadImpl.Inbound
- Enclosing class:
- PayloadImpl
public abstract static class PayloadImpl.Inbound
- extends Object
- implements Payload.Inbound
Partial implementation of the Inbound interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadImpl.Inbound
public PayloadImpl.Inbound()
newInstance
public static PayloadImpl.Inbound newInstance(String payloadContentType,
InputStream is)
throws IOException
- Creates a new Inbound Payload of the given content type, read from
the specified InputStream. The payloadContentType should be the
content-type from the inbound http request or response.
- Parameters:
payloadContentType - content-type from the inbound http request or responseis - the InputStream from which the Payload should be read
- Returns:
- the prepared Payload
- Throws:
IOException
getHeaderName
public String getHeaderName()
- Specified by:
getHeaderName in interface Payload.Inbound
Copyright © 2012 GlassFish Community. All Rights Reserved.