net.rim.device.api.io.http
Interface HttpServerConnection
- All Superinterfaces:
- Connection, ContentConnection, InputConnection, OutputConnection, StreamConnection
- public interface HttpServerConnection
- extends ContentConnection
This class is a mirror image of the HttpConnection but defines some additional functionality for server side.
- Since:
- JDE 4.0.0
getRequestMethod
public String getRequestMethod()
throws IOException
- Since:
- JDE 4.0.0
getHeaderField
public String getHeaderField(int n)
throws IOException
- Since:
- JDE 4.0.0
getHeaderFieldInt
public int getHeaderFieldInt(String name,
int def)
throws IOException
- Since:
- JDE 4.0.0
getHeaderFieldKey
public String getHeaderFieldKey(int n)
throws IOException
- Since:
- JDE 4.0.0
setResponseCode
public void setResponseCode(int code)
throws IOException
- Since:
- JDE 4.0.0
Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.