gcc/libjava/java/net/Authenticator.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

52 lines
1.7 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_net_Authenticator__
#define __java_net_Authenticator__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace net
{
class Authenticator;
class InetAddress;
class PasswordAuthentication;
}
}
}
class java::net::Authenticator : public ::java::lang::Object
{
public:
static void setDefault(::java::net::Authenticator *);
static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::lang::String *, ::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
Authenticator();
public: // actually protected
virtual ::java::net::InetAddress * getRequestingSite();
virtual ::java::lang::String * getRequestingHost();
virtual jint getRequestingPort();
virtual ::java::lang::String * getRequestingProtocol();
virtual ::java::lang::String * getRequestingPrompt();
virtual ::java::lang::String * getRequestingScheme();
virtual ::java::net::PasswordAuthentication * getPasswordAuthentication();
private:
static ::java::net::Authenticator * defaultAuthenticator;
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) host;
::java::net::InetAddress * addr;
jint port;
::java::lang::String * protocol;
::java::lang::String * prompt;
::java::lang::String * scheme;
public:
static ::java::lang::Class class$;
};
#endif // __java_net_Authenticator__