org.isam.exehda.services
Class HttpService.ServiceResponse
java.lang.Object
|
+--org.isam.exehda.services.HttpService.ServiceResponse
- Enclosing class:
- HttpService
- protected class HttpService.ServiceResponse
- extends java.lang.Object
Method Summary |
void |
close()
|
void |
putData(byte[] data,
int offset,
int size)
|
void |
putHeader(java.lang.String attrName,
java.lang.String attrValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUCCESS_MASK
public static final int SUCCESS_MASK
- See Also:
- Constant Field Values
CLIENT_ERROR_MASK
public static final int CLIENT_ERROR_MASK
- See Also:
- Constant Field Values
SERVER_ERROR_MASK
public static final int SERVER_ERROR_MASK
- See Also:
- Constant Field Values
OK
public static final int OK
- See Also:
- Constant Field Values
CREATED
public static final int CREATED
- See Also:
- Constant Field Values
ACCEPTED
public static final int ACCEPTED
- See Also:
- Constant Field Values
NO_CONTENT
public static final int NO_CONTENT
- See Also:
- Constant Field Values
BAD_REQUEST
public static final int BAD_REQUEST
- See Also:
- Constant Field Values
UNAUTHORIZED
public static final int UNAUTHORIZED
- See Also:
- Constant Field Values
FORBIDDEN
public static final int FORBIDDEN
- See Also:
- Constant Field Values
NOT_FOUND
public static final int NOT_FOUND
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
- See Also:
- Constant Field Values
UNAVAILABLE
public static final int UNAVAILABLE
- See Also:
- Constant Field Values
HttpService.ServiceResponse
public HttpService.ServiceResponse(HttpService.ServiceRequest req,
int responseCode)
throws java.io.IOException
putHeader
public void putHeader(java.lang.String attrName,
java.lang.String attrValue)
putData
public void putData(byte[] data,
int offset,
int size)
throws java.io.IOException
java.io.IOException
close
public void close()
throws java.io.IOException
java.io.IOException