com.ibm.maf.atp
Class AtpResponseImpl
java.lang.Object
|
+--com.ibm.maf.atp.AtpResponseImpl
- All Implemented Interfaces:
- com.ibm.maf.atp.AtpResponse
- public final class AtpResponseImpl
- extends java.lang.Object
- implements com.ibm.maf.atp.AtpResponse
- Version:
- 1.10 $Date :$
- Author:
- Mitsuru Oshima
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtpResponseImpl
public AtpResponseImpl(java.io.OutputStream out)
throws java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface com.ibm.maf.atp.AtpResponse
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode
in interface com.ibm.maf.atp.AtpResponse
sendError
public void sendError(int i)
throws java.io.IOException
- Specified by:
sendError
in interface com.ibm.maf.atp.AtpResponse
sendResponse
public void sendResponse()
throws java.io.IOException
- Specified by:
sendResponse
in interface com.ibm.maf.atp.AtpResponse
setContentType
public void setContentType(java.lang.String type)
- Specified by:
setContentType
in interface com.ibm.maf.atp.AtpResponse
setStatusCode
public void setStatusCode(int i)
- Specified by:
setStatusCode
in interface com.ibm.maf.atp.AtpResponse
setStatusCode
public void setStatusCode(int i,
java.lang.String msg)
- Specified by:
setStatusCode
in interface com.ibm.maf.atp.AtpResponse