libgdx API

com.badlogic.gdx
Class Net.HttpStatus

java.lang.Object
  extended by com.badlogic.gdx.Net.HttpStatus
Enclosing interface:
Net

public static class Net.HttpStatus
extends java.lang.Object

Contains information about the HTTP status line returned with the Net.HttpResponse after a Net.HttpRequest was performed.


Constructor Summary
Net.HttpStatus(int statusCode)
           
 
Method Summary
 int getStatusCode()
          Returns the status code of the HTTP response, normally 2xx status codes indicate success while 4xx and 5xx indicate client and server errors, respectively (see HTTP/1.1: Status Code Definitions for more information about HTTP status codes).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Net.HttpStatus

public Net.HttpStatus(int statusCode)
Method Detail

getStatusCode

public int getStatusCode()
Returns the status code of the HTTP response, normally 2xx status codes indicate success while 4xx and 5xx indicate client and server errors, respectively (see HTTP/1.1: Status Code Definitions for more information about HTTP status codes).


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)