Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 82

javax.obex
Interface HeaderSet


public interface HeaderSet

This interface is defined by the JSR-82 specification Java™ APIs for Bluetooth™ Wireless Technology, Version 1.1.


Field Summary
static int APPLICATION_PARAMETER
           
static int COUNT
           
static int DESCRIPTION
           
static int HTTP
           
static int LENGTH
           
static int NAME
           
static int OBJECT_CLASS
           
static int TARGET
           
static int TIME_4_BYTE
           
static int TIME_ISO_8601
           
static int TYPE
           
static int WHO
           
 
Method Summary
 void createAuthenticationChallenge(java.lang.String realm, boolean userID, boolean access)
           
 java.lang.Object getHeader(int headerID)
           
 int[] getHeaderList()
           
 int getResponseCode()
           
 void setHeader(int headerID, java.lang.Object headerValue)
           
 

Field Detail

COUNT

static final int COUNT
See Also:
Constant Field Values

NAME

static final int NAME
See Also:
Constant Field Values

TYPE

static final int TYPE
See Also:
Constant Field Values

LENGTH

static final int LENGTH
See Also:
Constant Field Values

TIME_ISO_8601

static final int TIME_ISO_8601
See Also:
Constant Field Values

TIME_4_BYTE

static final int TIME_4_BYTE
See Also:
Constant Field Values

DESCRIPTION

static final int DESCRIPTION
See Also:
Constant Field Values

TARGET

static final int TARGET
See Also:
Constant Field Values

HTTP

static final int HTTP
See Also:
Constant Field Values

WHO

static final int WHO
See Also:
Constant Field Values

OBJECT_CLASS

static final int OBJECT_CLASS
See Also:
Constant Field Values

APPLICATION_PARAMETER

static final int APPLICATION_PARAMETER
See Also:
Constant Field Values
Method Detail

setHeader

void setHeader(int headerID,
               java.lang.Object headerValue)

getHeader

java.lang.Object getHeader(int headerID)
                           throws java.io.IOException
Throws:
java.io.IOException

getHeaderList

int[] getHeaderList()
                    throws java.io.IOException
Throws:
java.io.IOException

createAuthenticationChallenge

void createAuthenticationChallenge(java.lang.String realm,
                                   boolean userID,
                                   boolean access)

getResponseCode

int getResponseCode()
                    throws java.io.IOException
Throws:
java.io.IOException

JSR 82

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 82 specification.